elements icon indicating copy to clipboard operation
elements copied to clipboard

utxoupdatepsbt does not set nonce field properly.

Open allenpiscitello opened this issue 3 years ago • 4 comments

I am manually updating a PSBT and then calling utxoupdatepsbt to set additional fields the wallet knows about. When I do this, utxowitness has the nonce field set to null. However, when I call walletcreatefundedpsbt, the nonce field gets set with the correct value.

allenpiscitello avatar Oct 26 '22 14:10 allenpiscitello

Any relation to https://github.com/bitcoin/bitcoin/issues/23205 ?

delta1 avatar Oct 26 '22 15:10 delta1

Any relation to bitcoin/bitcoin#23205 ?

No, nonces are unique to Elements.

allenpiscitello avatar Oct 26 '22 15:10 allenpiscitello

Ah of course, thanks!

delta1 avatar Oct 26 '22 15:10 delta1

This is actually related to #1004

apoelstra avatar Oct 26 '22 16:10 apoelstra