MCPcopy Create free account
hub / github.com/ElementsProject/elements / test_nonrbf_bumpfee_fails

Function test_nonrbf_bumpfee_fails

test/functional/wallet_bumpfee.py:231–235  ·  view source on GitHub ↗
(self, peer_node, dest_address)

Source from the content-addressed store, hash-verified

229
230
231def test_nonrbf_bumpfee_fails(self, peer_node, dest_address):
232 self.log.info('Test that we cannot replace a non RBF transaction')
233 not_rbfid = peer_node.sendtoaddress(dest_address, Decimal("0.00090000"))
234 assert_raises_rpc_error(-4, "not BIP 125 replaceable", peer_node.bumpfee, not_rbfid)
235 self.clear_mempool()
236
237
238def test_notmine_bumpfee_fails(self, rbf_node, peer_node, dest_address):

Callers 1

run_testMethod · 0.70

Calls 3

assert_raises_rpc_errorFunction · 0.90
infoMethod · 0.80
clear_mempoolMethod · 0.80

Tested by

no test coverage detected