Fixed mempool sync after sending a transaction

This commit is contained in:
Suhas Daftuar 2014-11-20 15:49:07 -05:00
parent b5d1b10929
commit 7e615f5228
1 changed files with 1 additions and 0 deletions

View File

@ -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(),