X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fqt%2Fmultisigdialog.cpp;h=97e49cff3adf5d8772c47a5a89ab6527121374e5;hb=34694c603fa90378d59d70804a5862df3845b2b8;hp=8f9beea69ae332b8ecd34d879148d76f83ddeb29;hpb=9903bc0d7229d446d9efd874ccef2fb59b2cf610;p=novacoin.git diff --git a/src/qt/multisigdialog.cpp b/src/qt/multisigdialog.cpp index 8f9beea..97e49cf 100644 --- a/src/qt/multisigdialog.cpp +++ b/src/qt/multisigdialog.cpp @@ -149,7 +149,7 @@ void MultisigDialog::on_createAddressButton_clicked() if(!model) return; - std::vector pubkeys; + std::vector pubkeys; pubkeys.resize(ui->pubkeyEntries->count()); unsigned int required = ui->requiredSignatures->text().toUInt(); @@ -162,7 +162,7 @@ void MultisigDialog::on_createAddressButton_clicked() CPubKey vchPubKey(ParseHex(str.toStdString().c_str())); if(!vchPubKey.IsValid()) return; - pubkeys[i].SetPubKey(vchPubKey); + pubkeys[i] = vchPubKey; } if(pubkeys.size() > 16) @@ -243,8 +243,8 @@ void MultisigDialog::on_saveMultisigAddressButton_clicked() LOCK(wallet->cs_wallet); if(!wallet->HaveCScript(scriptID)) wallet->AddCScript(script); - if(!wallet->mapAddressBook.count(CBitcoinAddress(address).Get())) - wallet->SetAddressBookName(CBitcoinAddress(address).Get(), label); + if(!wallet->mapAddressBook.count(CBitcoinAddress(address))) + wallet->SetAddressBookName(CBitcoinAddress(address), label); } void MultisigDialog::clear()