Run z_listlockunspent in tests so we can see which notes are locked

This commit is contained in:
Duke
2025-08-21 01:56:24 -04:00
parent cae942a5c9
commit 80f48a9338

View File

@@ -75,7 +75,7 @@ class LockZinsTest (BitcoinTestFramework):
rpc.generate(11)
self.sync_all()
rpc.z_listunspent()
# rpc.z_listunspent()
rpc.z_getbalances()
recipients = []
@@ -84,8 +84,11 @@ class LockZinsTest (BitcoinTestFramework):
# queue 4 ztxs, which will try to spend the same funds multiple times
# without correct locking of zins
opid1 = rpc.z_sendmany(zaddr1,recipients,1,0)
rpc.z_listlockunspent()
opid2 = rpc.z_sendmany(zaddr1,recipients,1,0)
rpc.z_listlockunspent()
opid3 = rpc.z_sendmany(zaddr1,recipients,1,0)
rpc.z_listlockunspent()
opid4 = rpc.z_sendmany(zaddr1,recipients,1,0)
rpc.generate(1)