MetacoSA / NBitcoin

Comprehensive Bitcoin library for the .NET framework.
MIT License
1.86k stars 840 forks source link

Do not send output's value below dust to fee. Instead, just send it back to change #1146

Closed NicolasDorier closed 1 year ago

NicolasDorier commented 1 year ago

When an output was too low, its value was sent to fee. (on top of the fee paid for the size of the transaction) Now we instead send back the output's value to the change.