diff --git a/x-python/src/lib.rs b/x-python/src/lib.rs index 945ba1a66c..087c46bac6 100644 --- a/x-python/src/lib.rs +++ b/x-python/src/lib.rs @@ -6,7 +6,7 @@ cfg_if::cfg_if! { #[pymodule] fn kaspapy(m: &Bound<'_, PyModule>) -> PyResult<()> { m.add_class::()?; - m.add_class::()?; + // m.add_class::()?; Ok(()) } diff --git a/x-python/tests/test.py b/x-python/tests/test.py index ee500e99e6..bbdb01d6bb 100644 --- a/x-python/tests/test.py +++ b/x-python/tests/test.py @@ -1,5 +1,6 @@ from kaspapy import PrivateKeyGenerator if __name__ == "__main__": - x = PrivateKeyGenerator('6f7c5ab0bd08856d5f5465f37ab9e200e40a190c1c73ddf03b637f1531cd1c159aa8b99c3246c1e1f9351d1037bcaa72b4edc5489351d18537d5b48f9e322473', False, 1) - print('hi') \ No newline at end of file + x = PrivateKeyGenerator('xprv9s21ZrQH143K2hP7m1bU4ZT6tWgX1Qn2cWvtLVDX6sTJVyg3XBa4p1So4s7uEvVFGyBhQWWRe8JeLPeDZ462LggxkkJpZ9z1YMzmPahnaZA', False, 1) + print(x.receive_key(2)) + print(x.change_key(2))