From 7e615f522845fbdd970421bfd8cdd5377b20e45f Mon Sep 17 00:00:00 2001 From: Suhas Daftuar Date: Thu, 20 Nov 2014 15:49:07 -0500 Subject: [PATCH] Fixed mempool sync after sending a transaction --- qa/rpc-tests/receivedby.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/rpc-tests/receivedby.py b/qa/rpc-tests/receivedby.py index 9fc661fe8..e3f86d38d 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(),