Branch: refs/heads/master
Home: https://github.com/conformal/btcutil
Commit: 8c022bae3ad9356952544b70140483fcdcebef4a
https://github.com/conformal/btcutil/commit/8c022bae3ad9356952544b70140483fcdcebef4a
Author: Dave Collins <[email protected]>
Date: 2014-01-05 (Sun, 05 Jan 2014)
Changed paths:
M address.go
Log Message:
-----------
Refactor some common code in address.go.
Rather than repeating the same code in both the pay-to-pubkey-hash and
pay-to-script-hash encoding, refactor it into separate functions. This
makes it easier to support new networks, for example, since it can be
changed in one place.