mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
Merge pull request #5335
7e615f5 Fixed mempool sync after sending a transaction (Suhas Daftuar)
This commit is contained in:
@@ -124,6 +124,7 @@ class ReceivedByTest(BitcoinTestFramework):
|
|||||||
balance_by_account = rec_by_accountArr = self.nodes[1].getreceivedbyaccount(account)
|
balance_by_account = rec_by_accountArr = self.nodes[1].getreceivedbyaccount(account)
|
||||||
|
|
||||||
txid = self.nodes[0].sendtoaddress(addr, 0.1)
|
txid = self.nodes[0].sendtoaddress(addr, 0.1)
|
||||||
|
self.sync_all()
|
||||||
|
|
||||||
# listreceivedbyaccount should return received_by_account_json because of 0 confirmations
|
# listreceivedbyaccount should return received_by_account_json because of 0 confirmations
|
||||||
check_array_result(self.nodes[1].listreceivedbyaccount(),
|
check_array_result(self.nodes[1].listreceivedbyaccount(),
|
||||||
|
|||||||
Reference in New Issue
Block a user