good morning!!!!

Skip to content
Snippets Groups Projects
Commit 3e6d7c16 authored by Jim McDonald's avatar Jim McDonald
Browse files

cmd/rlpdump: allow hex input to have leading '0x'

parent 0095531a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment