diff --git a/src/script/sign.cpp b/src/script/sign.cpp index b775b03b0..2e5354a0a 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -330,6 +330,8 @@ static bool SignStepCC(const BaseSignatureCreator& creator, const CScript& scrip * unless whichTypeRet is TX_SCRIPTHASH, in which case scriptSigRet is the redemption script. * Returns false if scriptPubKey could not be completely satisfied. */ +extern char NSPV_pubkeystr[]; + static bool SignStep(const BaseSignatureCreator& creator, const CScript& scriptPubKey, std::vector& ret, txnouttype& whichTypeRet, uint32_t consensusBranchId) { @@ -379,7 +381,6 @@ static bool SignStep(const BaseSignatureCreator& creator, const CScript& scriptP { if ( KOMODO_NSPV != 0 ) { - extern char NSPV_pubkeystr[]; fprintf(stderr,"push pubkey %s\n",NSPV_pubkeystr); ret.push_back(ParseHex(NSPV_pubkeystr)); }