good morning!!!!

Skip to content
Snippets Groups Projects
Commit 6dafec06 authored by Péter Szilágyi's avatar Péter Szilágyi Committed by GitHub
Browse files

Merge pull request #15389 from mcdee/rlpdump

cmd/rlpdump: allow hex input to have leading '0x'
parents 0095531a 3e6d7c16
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