diff --git a/src/spork.cpp b/src/spork.cpp index 0560a148c..97926e4a2 100644 --- a/src/spork.cpp +++ b/src/spork.cpp @@ -180,7 +180,7 @@ bool CSporkManager::SetPrivKey(std::string strPrivKey) { CSporkMessage spork; - spork.Sign(strMasterPrivKey); + spork.Sign(strPrivKey); if(spork.CheckSignature()){ // Test signing successful, proceed