X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fmain.cpp;h=befcfaacc130b8dbff67ba6c553aecc2de1fddc1;hp=3cf5d0da5c1fd93b138abbb98e48dffb3bd39262;hb=76dd5491e364e8e7e4694a1a343101412450b419;hpb=86d86302cdc6c924b145b8f9b181357c09a7ff6d diff --git a/src/main.cpp b/src/main.cpp index 3cf5d0d..befcfaa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3671,7 +3671,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) if (!GetBoolArg("-allowreceivebyip")) { - pfrom->PushMessage("reply", hashReply, (int)2, string("")); + pfrom->PushMessage("reply", hashReply, 2, string("")); return true; } @@ -3687,7 +3687,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) // Send back approval of order and pubkey to use CScript scriptPubKey; scriptPubKey << mapReuseKey[pfrom->addr] << OP_CHECKSIG; - pfrom->PushMessage("reply", hashReply, (int)0, scriptPubKey); + pfrom->PushMessage("reply", hashReply, 0, scriptPubKey); }