diff --git a/validate.go b/validate.go index 758a60363..63b32735a 100644 --- a/validate.go +++ b/validate.go @@ -712,7 +712,7 @@ func (b *BlockChain) checkConnectBlock(node *blockNode, block *btcutil.Block) er // The coinbase for the Genesis block is not spendable, so just return // now. - if node.hash.IsEqual(&btcwire.GenesisHash) { + if node.hash.IsEqual(b.netParams().genesisHash) { return nil }