Skip to content

Commit

Permalink
Secp256k1Foreign: make arena and ctx private
Browse files Browse the repository at this point in the history
  • Loading branch information
msgilligan committed Apr 15, 2024
1 parent d0ce83c commit 4304b81
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@
*
*/
public class Secp256k1Foreign implements AutoCloseable, Secp256k1 {
public final Arena arena;
public final MemorySegment ctx;
private final Arena arena;
private final MemorySegment ctx;
/* package */ static final Arena globalArena = Arena.ofAuto();
/* package */ static final MemorySegment secp256k1StaticContext = secp256k1_h.secp256k1_context_static();
/**
Expand Down

0 comments on commit 4304b81

Please sign in to comment.