PUBKEY_PAIR_ADDRESS / PUBKEY_PAIR_ADDRESS_TEST
[novacoin.git] / src / qt / coincontroldialog.cpp
index 998a992..3f67ee6 100644 (file)
@@ -686,7 +686,7 @@ void CoinControlDialog::updateView()
                     // Pay-to-Pubkey-R
                     CMalleableKeyView view;
                     pwalletMain->CheckOwnership(CPubKey(vSolutions[0]), CPubKey(vSolutions[1]), view);
-                    sAddress = view.GetMalleablePubKey().ToString().c_str();
+                    sAddress = CBitcoinAddress(view.GetMalleablePubKey()).ToString().c_str();
                 }
 
                 // if listMode or change => show bitcoin address. In tree mode, address is not shown again for direct wallet address outputs