X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=blobdiff_plain;f=src%2Fqt%2Fmultisigdialog.cpp;h=c804c99f30e1077f3ceeec9c50b531e601f8d27a;hp=a82f76e9d54579453dbd16e81a817ee55cedff8f;hb=27ce22da0815f4c1fa0e949cc4740e3f4dd1ea9c;hpb=db1eaec482383385156b3e7cb6b2baa9454975f0 diff --git a/src/qt/multisigdialog.cpp b/src/qt/multisigdialog.cpp index a82f76e..c804c99 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) @@ -347,9 +347,8 @@ void MultisigDialog::on_transaction_textChanged() { ss >> tx; } - catch(std::exception &e) + catch(const std::exception&) { - (void)e; return; } @@ -418,9 +417,8 @@ void MultisigDialog::on_signTransactionButton_clicked() { ss >> tx; } - catch(std::exception &e) + catch(const std::exception&) { - (void)e; return; } CTransaction mergedTx(tx); @@ -538,9 +536,8 @@ void MultisigDialog::on_sendTransactionButton_clicked() { ssData >> tx; } - catch(std::exception &e) + catch(const std::exception&) { - (void)e; return; } uint256 txHash = tx.GetHash();