File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -284,6 +284,12 @@ def sendall_fails_on_high_fee(self):
284
284
recipients = [self .remainder_target ],
285
285
fee_rate = 100000 )
286
286
287
+ @cleanup
288
+ def sendall_fails_on_low_fee (self ):
289
+ self .log .info ("Test sendall fails if the transaction fee is lower than the minimum fee rate setting" )
290
+ assert_raises_rpc_error (- 8 , "Fee rate (0.999 sat/vB) is lower than the minimum fee rate setting (1.000 sat/vB)" ,
291
+ self .wallet .sendall , recipients = [self .recipient ], fee_rate = 0.999 )
292
+
287
293
@cleanup
288
294
def sendall_watchonly_specific_inputs (self ):
289
295
self .log .info ("Test sendall with a subset of UTXO pool in a watchonly wallet" )
@@ -376,6 +382,9 @@ def run_test(self):
376
382
# Sendall fails when providing a fee that is too high
377
383
self .sendall_fails_on_high_fee ()
378
384
385
+ # Sendall fails when fee rate is lower than minimum
386
+ self .sendall_fails_on_low_fee ()
387
+
379
388
# Sendall succeeds with watchonly wallets spending specific UTXOs
380
389
self .sendall_watchonly_specific_inputs ()
381
390
You can’t perform that action at this time.
0 commit comments