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

walletcreatefundedpsbt returns a "transaction amount too small" error with miniscript descriptor #292

Open
wild-kard opened this issue Apr 4, 2023 · 0 comments

Comments

@wild-kard
Copy link

wild-kard commented Apr 4, 2023

Bitcoin Core Version: self compiled from master on Mar 30

rust-bitcoincore-rpc version: self compiled from master

I have generated a 2 of 7 miniscript descriptor and imported the descriptor into a blank wallet.

The wallet is funded.

However when attempting to use Client.wallet_create_funded_psbt() with Amount::from_sat(u64) in the outputs struct, I receive an error that says "Transaction amount too small".

I am able to successfully create a psbt with the same parameters using the bitcoin-cli.

I am using default fees and not specifying any inputs. The wallet contains two utxos for a total of 28k satoshis. I have tried various amounts between 10k and 25k sats but I always get the same error that says the transaction amount is too small.

@wild-kard wild-kard changed the title walletcreatefundedpsbt returns a "transaction amount too small error" with miniscript descriptor walletcreatefundedpsbt returns a "transaction amount too small" error with miniscript descriptor Apr 4, 2023
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

No branches or pull requests

1 participant