Branch: refs/heads/master
Home: https://github.com/conformal/btcwallet
Commit: 2f0a9b1435971d2fad62c99b59aa15f13e3b1baa
https://github.com/conformal/btcwallet/commit/2f0a9b1435971d2fad62c99b59aa15f13e3b1baa
Author: Josh Rickmar <[email protected]>
Date: 2014-05-07 (Wed, 07 May 2014)
Changed paths:
M tx/tx.go
Log Message:
-----------
Simplify a switch statement in OutputAmount.
Instead of using 3 fallthroughs with obscure cases, use a single
switch statement with just a one case. This switch is only evaluated
if a previous if statement body is entered. Functionally no
different, but imo this much easier to read, and removes two uses of !
to negate bools.