You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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()
withAmount::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.
The text was updated successfully, but these errors were encountered: