diff --git a/src/server/poolserver/NetworkMgr/NetworkMgr.cpp b/src/server/poolserver/NetworkMgr/NetworkMgr.cpp index 4994789..d43d4f5 100644 --- a/src/server/poolserver/NetworkMgr/NetworkMgr.cpp +++ b/src/server/poolserver/NetworkMgr/NetworkMgr.cpp @@ -63,6 +63,9 @@ void NetworkMgr::UpdateBlockTemplate() BinaryData pubkey = Util::ASCIIToBin(sConfig.Get("MiningAddress")); block->tx.push_back(Bitcoin::CreateCoinbaseTX(_blockHeight, pubkey, response["coinbasevalue"].GetInt(), Util::ASCIIToBin("D7PoolBeta"))); + // Fix nTime for coinbase tx + block->tx[0].time = block->time; + // Add other transactions JSON trans = response["transactions"]; for (uint64 tidx = 0; tidx < trans.Size(); ++tidx) {