def test_locked_wallet_fails(rbf_node, dest_address):
    rbfid = create_fund_sign_send(rbf_node, {dest_address: 0.09})
    rbf_node.walletlock()
    assert_raises_message(JSONRPCException, 'Please enter the wallet passphrase with walletpassphrase first.', rbf_node.bumpfee, rbfid)
def test_locked_wallet_fails(rbf_node, dest_address):
    rbfid = create_fund_sign_send(rbf_node, {dest_address: 0.09})
    rbf_node.walletlock()
    assert_raises_message(JSONRPCException, 'Please enter the wallet passphrase with walletpassphrase first.', rbf_node.bumpfee, rbfid)