Skip to content
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

Do not include zero value change outputs. #193

Merged
merged 1 commit into from
Apr 20, 2016

Commits on Apr 20, 2016

  1. Do not include zero value change outputs.

    Due to the way dust is calculated, if the transaction relay fee is
    zero, then a zero output amount is not considered dust.  As the
    transaction authoring code used this dust check to determine whether a
    change output can be included or not, it could create unnecessary
    change outputs which return no value back to the wallet.  Prevent this
    by including an explicit check for zero values.
    
    Conflicts:
    	wallet/txauthor/author.go
    	wallet/txauthor/author_test.go
    jrick authored and alexlyp committed Apr 20, 2016
    Configuration menu
    Copy the full SHA
    df0af6e View commit details
    Browse the repository at this point in the history