From 4ed779073db32e311ca1536989a092f629b9cddd Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 18 Jul 2018 05:10:17 -1100 Subject: [PATCH] Test --- src/rpcmining.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 55955f6e6..4c4d2eed5 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -32,6 +32,8 @@ using namespace std; +extern uint64_t ASSETCHAINS_STAKED; +arith_uint256 komodo_PoWtarget(int32_t *percPoSp,arith_uint256 target,int32_t height,int32_t goalperc); /** * Return average network hashes per second based on the last 'lookup' blocks, @@ -438,7 +440,6 @@ static UniValue BIP22ValidationResult(const CValidationState& state) UniValue getblocktemplate(const UniValue& params, bool fHelp) { - extern uint64_t ASSETCHAINS_STAKED; if (fHelp || params.size() > 1) throw runtime_error( "getblocktemplate ( \"jsonrequestobject\" )\n"