From e025fe7934074311104bacc35c931094304b4d48 Mon Sep 17 00:00:00 2001 From: R E Broadley Date: Mon, 23 Jun 2014 10:07:45 +0700 Subject: [PATCH] Add masternodes to address database --- src/main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.cpp b/src/main.cpp index 8042df89cc..9bc3b8c2ad 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4183,6 +4183,7 @@ bool static ProcessMessage(CNode* pfrom, string strCommand, CDataStream& vRecv) return false; } + addrman.Add(CAddress(addr), pfrom->addr, 2*60*60); CMasterNode mn(addr, vin, pubkey, vchSig, sigTime, pubkey2); mn.UpdateLastSeen(lastUpdated);