From 80f48a9338773c2514d34093f045d19262e05b31 Mon Sep 17 00:00:00 2001 From: Duke Date: Thu, 21 Aug 2025 01:56:24 -0400 Subject: [PATCH] Run z_listlockunspent in tests so we can see which notes are locked --- qa/rpc-tests/lockzins.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qa/rpc-tests/lockzins.py b/qa/rpc-tests/lockzins.py index 232667ab5..a073beca8 100755 --- a/qa/rpc-tests/lockzins.py +++ b/qa/rpc-tests/lockzins.py @@ -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)