mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 22:56:40 +00:00
55d91400b8
* fix_: bump go-ethereum to get fix for block hash calculation * chore_: remove CallBlockHashByTransaction workaround for bad block hash calculation
14 lines
269 B
Go
14 lines
269 B
Go
package ethclient
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestGeth_HeaderHash(t *testing.T) {
|
|
number, hash, header := getTestBlockHeader()
|
|
require.Equal(t, number.String(), header.Number.String())
|
|
require.Equal(t, hash, header.Hash())
|
|
}
|