From 575e5351e5dc7274c2044021a677207a610a1bb1 Mon Sep 17 00:00:00 2001 From: Duke Leto Date: Thu, 10 Dec 2020 06:56:46 -0500 Subject: [PATCH] fix compiler unhappiness --- src/rpc/misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/misc.cpp b/src/rpc/misc.cpp index 17decd37c..d07dd8d2d 100644 --- a/src/rpc/misc.cpp +++ b/src/rpc/misc.cpp @@ -1284,7 +1284,7 @@ UniValue getsnapshot(const UniValue& params, bool fHelp, const CPubKey& mypk) top = atoi(params[0].get_str().c_str()); if ( top < 0 ) { - if ( KOMODO_SNAPSHOT_INTERVAL == 0 ) + if ( HUSH_SNAPSHOT_INTERVAL == 0 ) throw JSONRPCError(RPC_INVALID_PARAMETER, "Invalid parameter, top must be a positive integer"); else top = -1;