diff --git a/src/miner.cpp b/src/miner.cpp index 1f07c8365..7e7809b46 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -313,7 +313,7 @@ CBlockTemplate* CreateNewBlock(const CScript& _scriptPubKeyIn, int32_t gpucount, { std::list removed; mempool.removeConflicts(cheatSpend.value(), removed); - printf("CAUGHT STAKE CHEATER! Adding cheat spend for %.8f at block #%d, coinbase tx\n%s\n", + printf("Found cheating stake! Adding cheat spend for %.8f at block #%d, coinbase tx\n%s\n", (double)cheatSpend.value().vout[0].nValue / (double)COIN, nHeight, cheatSpend.value().vin[0].prevout.hash.GetHex().c_str()); } diff --git a/src/transaction_builder.h b/src/transaction_builder.h index 9e59cb9c6..d040ed06c 100644 --- a/src/transaction_builder.h +++ b/src/transaction_builder.h @@ -89,7 +89,7 @@ public: uint256 ovk, libzcash::SaplingPaymentAddress to, CAmount value, - std::array memo = {{0xF6}}); + std::array memo = {{0}}); // Assumes that the value correctly corresponds to the provided UTXO. void AddTransparentInput(COutPoint utxo, CScript scriptPubKey, CAmount value);