v29.4-roots.3 · Commit 10: [PATCH 10/30] fix: harden final Roots assurance
test/functional/wallet_sendall.py
Before: test/functional/wallet_sendall.py · After: test/functional/wallet_sendall.py
File metadata
index b256b53b38a8b0bfeef45e2a36951239ea2f9770..48554d010c776aa91099f67fc724412733ef9b10 100755
Download original patch · Release notes
Diff rows 1–7 of 7. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.
test/functional/wallet_sendall.py
CHANGED
|
@@ -57,6 +57,7 @@ class SendallTest(BitcoinTestFramework):
|
|
| 57 |
for a in amounts:
|
| 58 |
self.def_wallet.sendtoaddress(self.wallet.getnewaddress(), a)
|
| 59 |
self.generate(self.nodes[0], 1)
|
|
|
|
| 60 |
assert_greater_than(self.wallet.getbalances()["mine"]["trusted"], 0)
|
| 61 |
return self.wallet.getbalances()["mine"]["trusted"]
|
| 62 |
|
|
|
|
| 57 |
for a in amounts:
|
| 58 |
self.def_wallet.sendtoaddress(self.wallet.getnewaddress(), a)
|
| 59 |
self.generate(self.nodes[0], 1)
|
| 60 |
+
self.nodes[0].syncwithvalidationinterfacequeue()
|
| 61 |
assert_greater_than(self.wallet.getbalances()["mine"]["trusted"], 0)
|
| 62 |
return self.wallet.getbalances()["mine"]["trusted"]
|
| 63 |
|