X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fprotocol.h;h=ece61840d587cb05c9258182cce18c781bb2257f;hb=9d14e64825d95061ea0857267646dfcb3d62e07a;hp=b4ebac666ba3f8a51e736a8ff2dc1bf02d2e1eba;hpb=395b5c44639db6bcb74bf40013a4f726e567afdd;p=novacoin.git diff --git a/src/protocol.h b/src/protocol.h index b4ebac6..ece6184 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -17,9 +17,9 @@ #include "uint256.h" extern bool fTestNet; -static inline unsigned short GetDefaultPort(const bool testnet = fTestNet) +inline unsigned short GetDefaultPort() { - return static_cast(testnet ? 17777 : 7777); + return static_cast(fTestNet ? 17777 : 7777); }