def test_rebumping(rbf_node, dest_address):
    rbf_node.settxfee(Decimal('0.001000'))
    rbfid = create_fund_sign_send(rbf_node, {dest_address: 0.09})
    bumped = rbf_node.bumpfee(rbfid, {'totalFee': 100000})
    assert_raises_message(JSONRPCException, 'already bumped', rbf_node.bumpfee, rbfid, {'totalFee': 200000})
    rbf_node.bumpfee(bumped['txid'], {'totalFee': 200000})
def test_rebumping(rbf_node, dest_address):
    rbf_node.settxfee(Decimal('0.001000'))
    rbfid = create_fund_sign_send(rbf_node, {dest_address: 0.09})
    bumped = rbf_node.bumpfee(rbfid, {'totalFee': 100000})
    assert_raises_message(JSONRPCException, 'already bumped', rbf_node.bumpfee, rbfid, {'totalFee': 200000})
    rbf_node.bumpfee(bumped['txid'], {'totalFee': 200000})