@@ -87,21 +87,21 @@ def run_test (self):
8787
8888 assert ('No addresses' in errorString )
8989
90- balance1 = self .nodes [1 ].getbalance ("" , 0 , True )
90+ balance1 = self .nodes [1 ].getbalance ("" , 0 , False , True )
9191 assert_equal (balance1 , Decimal (0 ))
9292
9393 #Import with affiliated address with no rescan
9494 self .nodes [1 ].importaddress (address2 , "" , False )
9595 result2 = self .nodes [1 ].importprunedfunds (rawtxn2 , proof2 , "" )
96- balance2 = Decimal (self .nodes [1 ].getbalance ("" , 0 , True ))
96+ balance2 = Decimal (self .nodes [1 ].getbalance ("" , 0 , False , True ))
9797 assert_equal (balance2 , Decimal ('0.05' ))
9898
9999 #Import with private key with no rescan
100100 self .nodes [1 ].importprivkey (address3_privkey , "" , False )
101101 result3 = self .nodes [1 ].importprunedfunds (rawtxn3 , proof3 , "" )
102- balance3 = Decimal (self .nodes [1 ].getbalance ("" , 0 , False ))
102+ balance3 = Decimal (self .nodes [1 ].getbalance ("" , 0 , False , False ))
103103 assert_equal (balance3 , Decimal ('0.025' ))
104- balance3 = Decimal (self .nodes [1 ].getbalance ("" , 0 , True ))
104+ balance3 = Decimal (self .nodes [1 ].getbalance ("" , 0 , False , True ))
105105 assert_equal (balance3 , Decimal ('0.075' ))
106106
107107 #Addresses Test - after import
@@ -124,16 +124,16 @@ def run_test (self):
124124
125125 assert ('does not exist' in errorString )
126126
127- balance1 = Decimal (self .nodes [1 ].getbalance ("" , 0 , True ))
127+ balance1 = Decimal (self .nodes [1 ].getbalance ("" , 0 , False , True ))
128128 assert_equal (balance1 , Decimal ('0.075' ))
129129
130130
131131 self .nodes [1 ].removeprunedfunds (txnid2 )
132- balance2 = Decimal (self .nodes [1 ].getbalance ("" , 0 , True ))
132+ balance2 = Decimal (self .nodes [1 ].getbalance ("" , 0 , False , True ))
133133 assert_equal (balance2 , Decimal ('0.025' ))
134134
135135 self .nodes [1 ].removeprunedfunds (txnid3 )
136- balance3 = Decimal (self .nodes [1 ].getbalance ("" , 0 , True ))
136+ balance3 = Decimal (self .nodes [1 ].getbalance ("" , 0 , False , True ))
137137 assert_equal (balance3 , Decimal ('0.0' ))
138138
139139if __name__ == '__main__' :
0 commit comments