Skip to content

Commit 7e615f5

Browse files
committed
Fixed mempool sync after sending a transaction
1 parent b5d1b10 commit 7e615f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

qa/rpc-tests/receivedby.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ def run_test(self):
124124
balance_by_account = rec_by_accountArr = self.nodes[1].getreceivedbyaccount(account)
125125

126126
txid = self.nodes[0].sendtoaddress(addr, 0.1)
127+
self.sync_all()
127128

128129
# listreceivedbyaccount should return received_by_account_json because of 0 confirmations
129130
check_array_result(self.nodes[1].listreceivedbyaccount(),

0 commit comments

Comments
 (0)