X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fwallet.cpp;h=908afaa4998628279ba05428587f2c11a7482ab0;hp=ee601ca4aeba6d4053c69ab4aa1bc6217f0535ce;hb=fbd44e84d5841867d36d295d4f347fd5e55d293f;hpb=90d203d2e37a06a368a5ebc3af03c1d3af7ec04e diff --git a/src/wallet.cpp b/src/wallet.cpp index ee601ca..908afaa 100644 --- a/src/wallet.cpp +++ b/src/wallet.cpp @@ -2829,7 +2829,7 @@ bool CWallet::ExtractAddress(const CScript& scriptPubKey, std::string& addressRe if (!CheckOwnership(CPubKey(vSolutions[0]), CPubKey(vSolutions[1]), view)) return false; - addressRet = view.GetMalleablePubKey().ToString(); + addressRet = CBitcoinAddress(view.GetMalleablePubKey()).ToString(); return true; } else if (whichType == TX_PUBKEYHASH)