mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-01-15 09:50:41 +00:00
14 lines
278 B
Go
14 lines
278 B
Go
|
package chaincfg
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/stretchr/testify/assert"
|
||
|
)
|
||
|
|
||
|
func TestMainnet(t *testing.T) {
|
||
|
p, err := mainnet()
|
||
|
assert.Nil(t, err)
|
||
|
assert.Equal(t, p.GenesisBlock.Hash.ReverseString(), "d42561e3d30e15be6400b6df2f328e02d2bf6354c41dce433bc57687c82144bf")
|
||
|
}
|