def test_bumpfee_metadata(rbf_node, dest_address):
    rbfid = rbf_node.sendtoaddress(dest_address, 0.09, 'comment value', 'to value')
    bumped_tx = rbf_node.bumpfee(rbfid)
    bumped_wtx = rbf_node.gettransaction(bumped_tx['txid'])
    assert_equal(bumped_wtx['comment'], 'comment value')
    assert_equal(bumped_wtx['to'], 'to value')
def test_bumpfee_metadata(rbf_node, dest_address):
    rbfid = rbf_node.sendtoaddress(dest_address, 0.09, 'comment value', 'to value')
    bumped_tx = rbf_node.bumpfee(rbfid)
    bumped_wtx = rbf_node.gettransaction(bumped_tx['txid'])
    assert_equal(bumped_wtx['comment'], 'comment value')
    assert_equal(bumped_wtx['to'], 'to value')