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

Fix Transactuil Builder same scriptpubkey with two outputs in NBitcoin #800

nopara73 opened this Issue Nov 3, 2018 · 1 comment


None yet
2 participants

nopara73 commented Nov 3, 2018

No description provided.


This comment has been minimized.


nopara73 commented Nov 3, 2018

NBitcoin works well, what's happening is:

  1. Coordinator creates a transaction that has two outputs with the same scriptpubkey.
  2. Coordinator sends to peers.
  3. Peers sign with transaction builder, but the transaction builder modifies the transaction, so that to only have one scriptpubkey in the outputs and that's what gets signed.
  4. Coordinator checks the signature against the unmodified transaction.

@nopara73 nopara73 closed this Nov 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment