We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1f4af6 commit 20beef9Copy full SHA for 20beef9
examples/run-blockchain/index.ts
@@ -50,7 +50,7 @@ async function main() {
50
const blockchainHead = await promisify(vm.blockchain.getHead.bind(vm.blockchain))()
51
52
console.log('--- Finished processing the BlockChain ---')
53
- console.log('New head:', '0x' + blockchain.meta.rawHead.toString('hex'))
+ console.log('New head:', '0x' + blockchainHead.hash().toString('hex'))
54
console.log('Expected:', testData.lastblockhash)
55
}
56
0 commit comments