diff --git a/libp2p/crypto/chacha20poly1305.nim b/libp2p/crypto/chacha20poly1305.nim index f97a6d482..d26f31ce9 100644 --- a/libp2p/crypto/chacha20poly1305.nim +++ b/libp2p/crypto/chacha20poly1305.nim @@ -22,7 +22,7 @@ else: import bearssl/blockx from stew/assign2 import assign -from stew/ranges/ptr_arith import baseAddr +from stew/ptrops import baseAddr const ChaChaPolyKeySize = 32