diff --git a/src/drivechain.cpp b/src/drivechain.cpp index 1051f02a3..6c9a67b7b 100644 --- a/src/drivechain.cpp +++ b/src/drivechain.cpp @@ -62,7 +62,7 @@ bool CDrivechain::IsConnected(const CBlockHeader& block) bool CDrivechain::VerifyBMM(const CBlockHeader& block) { - return this->drivechain->verify_bmm(block.hashPrevMainBlock.GetHex(), block.hashMerkleRoot.GetHex()); + return this->drivechain->verify_bmm(block.hashPrevMainBlock.GetHex(), block.GetHash().GetHex()); } std::vector CDrivechain::GetCoinbaseOutputs()