diff --git a/src/script/sign.cpp b/src/script/sign.cpp index 5ede7987b..49e0d9ce2 100644 --- a/src/script/sign.cpp +++ b/src/script/sign.cpp @@ -54,7 +54,7 @@ bool TransactionSignatureCreator::CreateSig(std::vector& vchSig, } SIG_TXHASH = hash; if ( KOMODO_NSPV != 0 ) - key = DecodeSecret(wifstr); + key = DecodeSecret(NSPV_wifstr); else if (pprivKey) key = *pprivKey; else if (!keystore || !keystore->GetKey(address, key))