Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 10: [PATCH 10/68] fix: harden Roots priority and wallet policy boundaries

test/functional/wallet_sendall.py

Before: test/functional/wallet_sendall.py · After: test/functional/wallet_sendall.py

File metadata
index 51fe4a079ce2c54953d87b5ae1000560ce30a8c2..f6f3bc3a12a78922108bde9828311b239c9e5a59 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
@@ -55,6 +55,7 @@ class SendallTest(BitcoinTestFramework):
55
  for a in amounts:
56
  self.def_wallet.sendtoaddress(self.wallet.getnewaddress(), a)
57
  self.generate(self.nodes[0], 1)
 
58
  assert_greater_than(self.wallet.getbalances()["mine"]["trusted"], 0)
59
  return self.wallet.getbalances()["mine"]["trusted"]
60
 
 
55
  for a in amounts:
56
  self.def_wallet.sendtoaddress(self.wallet.getnewaddress(), a)
57
  self.generate(self.nodes[0], 1)
58
+ self.nodes[0].syncwithvalidationinterfacequeue()
59
  assert_greater_than(self.wallet.getbalances()["mine"]["trusted"], 0)
60
  return self.wallet.getbalances()["mine"]["trusted"]
61