Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

utxoupdatepsbt does not set nonce field properly.

Open
#1,187 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
cpp
Domain
blockchain

Research direction

Reproduce the difference between manually updating a PSBT with utxoupdatepsbt and creating one with walletcreatefundedpsbt, then compare how utxoupdatepsbt and utxowitness handle the nonce field. Done means the wallet-known nonce is populated correctly after utxoupdatepsbt and the relevant tests pass.

Written by the indexing model from the issue text.

Description

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.

Dominant language
C++
Stars
1.2k
Forks
418
Avg merge
1d 12h
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ElementsProject/elements

All issues in ElementsProject/elements

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.