mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 02:12:23 +00:00
Update runtime_test.go
This commit is contained in:
parent
583a206fa4
commit
1ed0639ae9
1 changed files with 10 additions and 0 deletions
|
|
@ -61,6 +61,16 @@ func TestDefaults(t *testing.T) {
|
||||||
if cfg.GetHashFn == nil {
|
if cfg.GetHashFn == nil {
|
||||||
t.Error("expected time to be non nil")
|
t.Error("expected time to be non nil")
|
||||||
}
|
}
|
||||||
|
// SYSCOIN
|
||||||
|
if cfg.ReadSYSHashFn == nil {
|
||||||
|
t.Error("expected time to be non nil")
|
||||||
|
}
|
||||||
|
if cfg.ReadDataHashFn == nil {
|
||||||
|
t.Error("expected time to be non nil")
|
||||||
|
}
|
||||||
|
if cfg.GetNEVMAddressFn == nil {
|
||||||
|
t.Error("expected time to be non nil")
|
||||||
|
}
|
||||||
if cfg.BlockNumber == nil {
|
if cfg.BlockNumber == nil {
|
||||||
t.Error("expected block number to be non nil")
|
t.Error("expected block number to be non nil")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue