Fix and add integration test.

This commit is contained in:
Arijit Das
2021-06-10 08:50:18 +05:30
parent b3ef2934b7
commit 3b3716499f
5 changed files with 27 additions and 16 deletions
+1 -1
View File
@@ -714,7 +714,7 @@ func (pea *PublicEthAPI) GetStorageAt(ctx context.Context, address common.Addres
}
}
if err == sql.ErrNoRows {
return hexutil.Bytes{}, errors.New("header not found")
return make([]byte, 32), nil
}
return nil, err
}