aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cmd/rlpdump/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go
index 7d328e59b..d0f993c5b 100644
--- a/cmd/rlpdump/main.go
+++ b/cmd/rlpdump/main.go
@@ -51,7 +51,7 @@ func main() {
var r io.Reader
switch {
case *hexMode != "":
- data, err := hex.DecodeString(*hexMode)
+ data, err := hex.DecodeString(strings.TrimPrefix(*hexMode, "0x"))
if err != nil {
die(err)
}
ts-gnome/commit/ports-mgmt/porttools?id=ffb2aa98f3dc991867d407873c68c643138620cb'>Update WWW:skreuzer2016-05-311-2/+1 * Update to version 1.07skreuzer2016-05-26