rlp: fix ExampleDecode test

This commit is contained in:
Felix Lange 2019-11-22 16:57:28 +01:00
parent 247b239914
commit 8338db2206

View file

@ -818,7 +818,7 @@ func ExampleDecode() {
fmt.Printf("Decoded value: %#v\n", s) fmt.Printf("Decoded value: %#v\n", s)
} }
// Output: // Output:
// Decoded value: rlp.example{A:0xa, B:0x14, private:0x0, String:"foobar"} // Decoded value: rlp.example{A:0xa, B:0x14, String:"foobar"}
} }
func ExampleDecode_structTagNil() { func ExampleDecode_structTagNil() {