Fixes an bug where accessing `prevBlockIndex->phashBlock` for the genesis block would cause a segmentation fault with an error of "Cannot access memory at address 0x0". As the genesis block doesn't have a previous hash, it will now set the "prevHash" to "null". |
||
|---|---|---|
| .. | ||
| data | ||
| regtest-node.js | ||
| regtest.js | ||