aboutsummaryrefslogtreecommitdiffstats
path: root/les/handler_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'les/handler_test.go')
-rw-r--r--les/handler_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/les/handler_test.go b/les/handler_test.go
index 5df1d3463..b1f1aa095 100644
--- a/les/handler_test.go
+++ b/les/handler_test.go
@@ -305,7 +305,7 @@ func testGetReceipt(t *testing.T, protocol int) {
}
// Tests that trie merkle proofs can be retrieved
-func TestGetProofsLes1(t *testing.T) { testGetReceipt(t, 1) }
+func TestGetProofsLes1(t *testing.T) { testGetProofs(t, 1) }
func testGetProofs(t *testing.T, protocol int) {
// Assemble the test environment
@@ -327,7 +327,7 @@ func testGetProofs(t *testing.T, protocol int) {
for _, acc := range accounts {
req := ProofReq{
BHash: header.Hash(),
- Key: acc[:],
+ Key: crypto.Keccak256(acc[:]),
}
proofreqs = append(proofreqs, req)