From 62e947dfb946abeacca1b184f029deb219b158f6 Mon Sep 17 00:00:00 2001 From: Pasta Date: Wed, 22 Jan 2020 12:16:35 -0600 Subject: [PATCH] fix receivedby.py Signed-off-by: Pasta --- test/functional/receivedby.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/receivedby.py b/test/functional/receivedby.py index 08cae0d7f8..cf66aa5923 100755 --- a/test/functional/receivedby.py +++ b/test/functional/receivedby.py @@ -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"))