From eab2201f808bbe1ef08a504f86cf41dd03aa979c Mon Sep 17 00:00:00 2001 From: Benoit Verkindt Date: Wed, 6 Dec 2017 07:42:16 -0800 Subject: eth: return rlp-decoded values from debug_storageRangeAt (#15476) Fixes #15196 --- eth/api_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eth/api_test.go') diff --git a/eth/api_test.go b/eth/api_test.go index 49ce38688..248bc3ab6 100644 --- a/eth/api_test.go +++ b/eth/api_test.go @@ -79,7 +79,10 @@ func TestStorageRangeAt(t *testing.T) { }, } for _, test := range tests { - result := storageRangeAt(state.StorageTrie(addr), test.start, test.limit) + result, err := storageRangeAt(state.StorageTrie(addr), test.start, test.limit) + if err != nil { + t.Error(err) + } if !reflect.DeepEqual(result, test.want) { t.Fatalf("wrong result for range 0x%x.., limit %d:\ngot %s\nwant %s", test.start, test.limit, dumper.Sdump(result), dumper.Sdump(&test.want)) -- cgit