mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-24 06:48:35 +02:00
Testnet Stealth enable
This commit is contained in:
+3
-1
@@ -1834,7 +1834,9 @@ string CWallet::SendStealthMoney(CScript scriptPubKey, int64_t nValue, std::vect
|
||||
CReserveKey reservekey(this);
|
||||
int64_t nFeeRequired;
|
||||
|
||||
if (chainActive.Height() < BLOCK_STEALTH_START)
|
||||
if ( (!TestNet() && (chainActive.Height() < BLOCK_STEALTH_START))
|
||||
|| (TestNet() && (chainActive.Height() < 200))
|
||||
)
|
||||
{
|
||||
string strError = _("Error: Stealth addresses not yet supported");
|
||||
LogPrintf("SendStealthMoney() : %s", strError.c_str());
|
||||
|
||||
Reference in New Issue
Block a user