Branch: refs/heads/master
Home: https://github.com/conformal/btcd
Commit: 767caaa6ae04db56a5a0745d31ade76d171792ef
https://github.com/conformal/btcd/commit/767caaa6ae04db56a5a0745d31ade76d171792ef
Author: Dave Collins <[email protected]>
Date: 2014-07-01 (Tue, 01 Jul 2014)
Changed paths:
M rpcserver.go
Log Message:
-----------
Make hex decoding consistent in RPC handlers.
The hex package requires an even number of characters in hex encoded
strings. Some of the handlers already prepended a zero if necessary to
make this condition true, however other did not. This commit extends this
functionality to all handlers and also makes the error return consistent.
ok @jrick