@@ -250,11 +250,11 @@ def run_test(self):
250250
251251 # Test setting explicit fee rate just below the minimum.
252252 self .log .info ("Test sendmany raises 'fee rate too low' if fee_rate of 0.99999999 is passed" )
253- assert_raises_rpc_error (- 6 , "Fee rate (0.00000999 BTC/kB ) is lower than the minimum fee rate setting (0.00001000 BTC/kB )" ,
253+ assert_raises_rpc_error (- 6 , "Fee rate (0.999 sat/vB ) is lower than the minimum fee rate setting (1.000 sat/vB )" ,
254254 self .nodes [2 ].sendmany , amounts = {address : 10 }, fee_rate = 0.99999999 )
255255
256256 self .log .info ("Test sendmany raises if fee_rate of 0 or -1 is passed" )
257- assert_raises_rpc_error (- 6 , "Fee rate (0.00000000 BTC/kB ) is lower than the minimum fee rate setting (0.00001000 BTC/kB )" ,
257+ assert_raises_rpc_error (- 6 , "Fee rate (0.000 sat/vB ) is lower than the minimum fee rate setting (1.000 sat/vB )" ,
258258 self .nodes [2 ].sendmany , amounts = {address : 10 }, fee_rate = 0 )
259259 assert_raises_rpc_error (- 3 , OUT_OF_RANGE , self .nodes [2 ].sendmany , amounts = {address : 10 }, fee_rate = - 1 )
260260
@@ -421,11 +421,11 @@ def run_test(self):
421421
422422 # Test setting explicit fee rate just below the minimum.
423423 self .log .info ("Test sendtoaddress raises 'fee rate too low' if fee_rate of 0.99999999 is passed" )
424- assert_raises_rpc_error (- 6 , "Fee rate (0.00000999 BTC/kB ) is lower than the minimum fee rate setting (0.00001000 BTC/kB )" ,
424+ assert_raises_rpc_error (- 6 , "Fee rate (0.999 sat/vB ) is lower than the minimum fee rate setting (1.000 sat/vB )" ,
425425 self .nodes [2 ].sendtoaddress , address = address , amount = 1 , fee_rate = 0.99999999 )
426426
427427 self .log .info ("Test sendtoaddress raises if fee_rate of 0 or -1 is passed" )
428- assert_raises_rpc_error (- 6 , "Fee rate (0.00000000 BTC/kB ) is lower than the minimum fee rate setting (0.00001000 BTC/kB )" ,
428+ assert_raises_rpc_error (- 6 , "Fee rate (0.000 sat/vB ) is lower than the minimum fee rate setting (1.000 sat/vB )" ,
429429 self .nodes [2 ].sendtoaddress , address = address , amount = 10 , fee_rate = 0 )
430430 assert_raises_rpc_error (- 3 , OUT_OF_RANGE , self .nodes [2 ].sendtoaddress , address = address , amount = 1.0 , fee_rate = - 1 )
431431
0 commit comments