Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sending cardinals requires but ignores --fee-rate #1842

Closed
gmart7t2 opened this issue Feb 27, 2023 · 3 comments · Fixed by #1922
Closed

sending cardinals requires but ignores --fee-rate #1842

gmart7t2 opened this issue Feb 27, 2023 · 3 comments · Fixed by #1922

Comments

@gmart7t2
Copy link
Contributor

I run:

ord wallet send --fee-rate <rate> <destination> 99999sats

It sends the 999999 sats but doesn't use the specified fee rate. Instead it uses the default fee rate that I set with:

bitcoin-cli settxfee

The send is done using:

client.send_to_address()

which only takes 8 arguments. Bitcoin's sendtoaddress RPC takes a fee_rate as its 10th argument but the rust client doesn't allow access to it.

Workaround: use bitcoin-cli settxfee <btc-per-kvb>. So to get the effect of --fee-rate 7 use bitcoin-cli settxfee 0.00007000 (with the necessary -rpcwallet=<wallet>).

@droplister
Copy link

Introduced here: https://github.com/casey/ord/pull/1755

@gmart7t2
Copy link
Contributor Author

Introduced here: #1755

The 'requires' part was introduced there but the 'ignores' part is older.

@btcrich
Copy link

btcrich commented Mar 4, 2023

Introduced here: #1755

I have a tx stuck in mempool due to this, any ways to cancel this to get my cardinals back?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants