core: make GetHeaderHash accept uint32
It should've always been this way because block indexes are uint32.
This commit is contained in:
parent
16db4746cc
commit
0ad6e295ea
23 changed files with 74 additions and 81 deletions
|
@ -66,7 +66,7 @@ func main() {
|
|||
handleError("can't get next block validators", err)
|
||||
valScript, err := smartcontract.CreateDefaultMultiSigRedeemScript(nbVals)
|
||||
handleError("can't create verification script", err)
|
||||
lastBlock, err := bc.GetBlock(bc.GetHeaderHash(int(bc.BlockHeight())))
|
||||
lastBlock, err := bc.GetBlock(bc.GetHeaderHash(bc.BlockHeight()))
|
||||
handleError("can't fetch last block", err)
|
||||
|
||||
txMoveNeo, err := testchain.NewTransferFromOwner(bc, bc.GoverningTokenHash(), h, native.NEOTotalSupply, 0, 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue