[Init] Avoid segfault when called with -enableinstantsend=0 (#1976)

This commit is contained in:
crowning- 2018-03-08 13:19:25 +01:00 committed by UdjinM6
parent 3200eae9b1
commit a9d8e2c5dd

View File

@ -884,7 +884,7 @@ void InitParameterInteraction()
}
if(!GetBoolArg("-enableinstantsend", fEnableInstantSend)){
if (SoftSetArg("-instantsenddepth", 0))
if (SoftSetArg("-instantsenddepth", "0"))
LogPrintf("%s: parameter interaction: -enableinstantsend=false -> setting -nInstantSendDepth=0\n", __func__);
}