Add testnet flag

Source: cryptonotefoundation
This commit is contained in:
Zachary Michaels
2014-07-16 13:30:15 -04:00
committed by Riccardo Spagni
parent 32004a756c
commit 07470fd400
15 changed files with 137 additions and 52 deletions

View File

@@ -112,7 +112,7 @@ int main(int argc, char* argv[])
//initialize objects
LOG_PRINT_L0("Initializing p2p server...");
bool res = p2psrv.init(vm);
bool res = p2psrv.init(vm, false);
CHECK_AND_ASSERT_MES(res, 1, "Failed to initialize p2p server.");
LOG_PRINT_L0("P2p server initialized OK");