mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-11 22:43:47 +00:00
fix: err in TestForkedHistoricalSummariesWithProof
This commit is contained in:
parent
f469fb3007
commit
e7054da983
1 changed files with 1 additions and 1 deletions
|
|
@ -149,5 +149,5 @@ func TestForkedHistoricalSummariesWithProof(t *testing.T) {
|
||||||
content := hexutil.MustDecode(testData.ContentValue)
|
content := hexutil.MustDecode(testData.ContentValue)
|
||||||
err = historyProof.Deserialize(configs.Mainnet, codec.NewDecodingReader(bytes.NewReader(content), uint64(len(content))))
|
err = historyProof.Deserialize(configs.Mainnet, codec.NewDecodingReader(bytes.NewReader(content), uint64(len(content))))
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
require.Equal(t, historyProof.HistoricalSummariesWithProof.EPOCH, testData.Epoch)
|
require.Equal(t, uint64(historyProof.HistoricalSummariesWithProof.EPOCH), testData.Epoch)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue