diff --git a/TrezorCrypto.pyx b/TrezorCrypto.pyx index 64903ff383..2babddb324 100644 --- a/TrezorCrypto.pyx +++ b/TrezorCrypto.pyx @@ -1,6 +1,5 @@ cimport c cimport cython - cdef class HDNode: cdef c.HDNode node @@ -34,7 +33,7 @@ cdef class HDNode: c.hdnode_public_ckd(cython.address(x.node), i) return x - def private_ckd(self, int i): + def private_ckd(self, unsigned int i): x = HDNode(copyfrom=self) c.hdnode_private_ckd(cython.address(x.node), i) return x diff --git a/setup.py b/setup.py index 106171681e..0aadea8e2c 100755 --- a/setup.py +++ b/setup.py @@ -5,6 +5,7 @@ from Cython.Build import cythonize from Cython.Distutils import build_ext srcs = [ + 'nist256p1', 'base58', 'bignum', 'bip32',