aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2014-11-20 15:49:07 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2014-11-20 15:49:07 -0500
commit7e615f522845fbdd970421bfd8cdd5377b20e45f (patch)
tree4c350f0ec4c33e4a3f2575db8203fc040660a3be /qa/rpc-tests
parentb5d1b1092998bc95313856d535c632ea5a8f9104 (diff)
Fixed mempool sync after sending a transaction
Diffstat (limited to 'qa/rpc-tests')
-rwxr-xr-xqa/rpc-tests/receivedby.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/rpc-tests/receivedby.py b/qa/rpc-tests/receivedby.py
index 9fc661fe80..e3f86d38dc 100755
--- a/qa/rpc-tests/receivedby.py
+++ b/qa/rpc-tests/receivedby.py
@@ -124,6 +124,7 @@ class ReceivedByTest(BitcoinTestFramework):
balance_by_account = rec_by_accountArr = self.nodes[1].getreceivedbyaccount(account)
txid = self.nodes[0].sendtoaddress(addr, 0.1)
+ self.sync_all()
# listreceivedbyaccount should return received_by_account_json because of 0 confirmations
check_array_result(self.nodes[1].listreceivedbyaccount(),