Run z_listlockunspent in tests so we can see which notes are locked
This commit is contained in:
@@ -75,7 +75,7 @@ class LockZinsTest (BitcoinTestFramework):
|
|||||||
|
|
||||||
rpc.generate(11)
|
rpc.generate(11)
|
||||||
self.sync_all()
|
self.sync_all()
|
||||||
rpc.z_listunspent()
|
# rpc.z_listunspent()
|
||||||
rpc.z_getbalances()
|
rpc.z_getbalances()
|
||||||
|
|
||||||
recipients = []
|
recipients = []
|
||||||
@@ -84,8 +84,11 @@ class LockZinsTest (BitcoinTestFramework):
|
|||||||
# queue 4 ztxs, which will try to spend the same funds multiple times
|
# queue 4 ztxs, which will try to spend the same funds multiple times
|
||||||
# without correct locking of zins
|
# without correct locking of zins
|
||||||
opid1 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
opid1 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
||||||
|
rpc.z_listlockunspent()
|
||||||
opid2 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
opid2 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
||||||
|
rpc.z_listlockunspent()
|
||||||
opid3 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
opid3 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
||||||
|
rpc.z_listlockunspent()
|
||||||
opid4 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
opid4 = rpc.z_sendmany(zaddr1,recipients,1,0)
|
||||||
|
|
||||||
rpc.generate(1)
|
rpc.generate(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user