Fix imports, fix output pretty print Use btcutil.Amount() instead of btcutil.NewAmount() Trim off unnecessary .String() Testable example for Amount Improve example for btcutil.Amount
This is consistent with the rest of the code base. i.e.: base58/bloom/hash160/hdkeychain.