mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
fix receivedby.py
Signed-off-by: Pasta <pasta@dashboost.org>
This commit is contained in:
parent
aeaf3c5ef9
commit
62e947dfb9
@ -107,7 +107,7 @@ class ReceivedByTest(BitcoinTestFramework):
|
||||
|
||||
# Create a new account named "mynewaccount" that has a 0 balance
|
||||
self.nodes[1].getaccountaddress("mynewaccount")
|
||||
received_by_account_json = [r for r inself.nodes[1].listreceivedbyaccount(0, False, True)if r["account"] == "mynewaccount"][0]
|
||||
received_by_account_json = [r for r in self.nodes[1].listreceivedbyaccount(0, True) if r["account"] == "mynewaccount"][0]
|
||||
|
||||
# Test includeempty of listreceivedbyaccount
|
||||
assert_equal(received_by_account_json["amount"], Decimal("0.0"))
|
||||
|
Loading…
Reference in New Issue
Block a user