X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fmain.cpp;h=53cdab175a595c5287874cb21744fffe13f27a07;hb=4e87d341f75f13bbd7d108c31c03886fbc4df56f;hp=594f1d3bc4fa53a0a1184998fc2a4309d74baa04;hpb=d547a4433217061ef4791cfb4cdbab8cd8606074;p=novacoin.git diff --git a/src/main.cpp b/src/main.cpp index 594f1d3..53cdab1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2213,7 +2213,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) // Keep giving the same key to the same ip until they use it if (!mapReuseKey.count(pfrom->addr.ip)) - mapReuseKey[pfrom->addr.ip] = pwalletMain->GetKeyFromKeyPool(); + mapReuseKey[pfrom->addr.ip] = pwalletMain->GetOrReuseKeyFromPool(); // Send back approval of order and pubkey to use CScript scriptPubKey;