core/tests: print hash of the genesis block

This commit is contained in:
Evgeniy Stratonikov 2021-03-09 13:17:51 +03:00
parent f087775160
commit d06718e1cb

View file

@ -304,6 +304,7 @@ func initBasicChain(t *testing.T, bc *Blockchain) {
t.Logf("native NEO hash: %v", neoHash) t.Logf("native NEO hash: %v", neoHash)
t.Logf("native Policy hash: %v", policyHash) t.Logf("native Policy hash: %v", policyHash)
t.Logf("native Notary hash: %v", notaryHash) t.Logf("native Notary hash: %v", notaryHash)
t.Logf("Block0 hash: %s", bc.GetHeaderHash(0).StringLE())
priv0 := testchain.PrivateKeyByID(0) priv0 := testchain.PrivateKeyByID(0)
priv0ScriptHash := priv0.GetScriptHash() priv0ScriptHash := priv0.GetScriptHash()