From a9d8e2c5ddbbf388dbce12fe86b1b0570a3c1967 Mon Sep 17 00:00:00 2001 From: crowning- Date: Thu, 8 Mar 2018 13:19:25 +0100 Subject: [PATCH] [Init] Avoid segfault when called with -enableinstantsend=0 (#1976) --- src/init.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cpp b/src/init.cpp index 68ca75cdaa..fe6a1bfb9e 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -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__); }