core/tests: print hash of the genesis block
This commit is contained in:
parent
f087775160
commit
d06718e1cb
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue