From 4e0ac4d995c2a8725eac9e9c7615a12236981100 Mon Sep 17 00:00:00 2001 From: jl777 Date: Thu, 11 Jul 2019 05:11:34 -1100 Subject: [PATCH] extern char NSPV_pubkeystr[]; --- src/script/sign.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); }