diff --git a/secp256k1-foreign/src/main/java/org/bitcoinj/secp256k1/foreign/Secp256k1Foreign.java b/secp256k1-foreign/src/main/java/org/bitcoinj/secp256k1/foreign/Secp256k1Foreign.java index 346e8ef..4b47635 100644 --- a/secp256k1-foreign/src/main/java/org/bitcoinj/secp256k1/foreign/Secp256k1Foreign.java +++ b/secp256k1-foreign/src/main/java/org/bitcoinj/secp256k1/foreign/Secp256k1Foreign.java @@ -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(); /**