Branch: refs/heads/master
Home: https://github.com/conformal/btcwallet
Commit: 6024e0ecb68d1dc479a249694359324f071fc8d6
https://github.com/conformal/btcwallet/commit/6024e0ecb68d1dc479a249694359324f071fc8d6
Author: Josh Rickmar <[email protected]>
Date: 2014-03-21 (Fri, 21 Mar 2014)
Changed paths:
M account.go
Log Message:
-----------
Pad byte slice passed to btcutil.EncodePrivateKey.
Calling the Bytes method for a big.Int does not pad the result to
required size for EncodePrivateKey. This change adds the leading
padding, preventing seemingly-random "malformed private key" errors
from being returned to users of dumpprivkey.