TransactionInfoDialog: add copy spendproof, in/outproof

This commit is contained in:
tobtoht
2020-11-08 12:12:06 +01:00
parent 2c99454565
commit 780a35fabe
14 changed files with 258 additions and 21 deletions
+2 -2
View File
@@ -302,8 +302,8 @@ MainWindow::MainWindow(AppContext *ctx, QWidget *parent) :
// History
connect(ui->historyWidget, &HistoryWidget::spendProof, [&](const QString &txid){
QString spendProof = m_ctx->currentWallet->getSpendProof(txid, "");
Utils::copyToClipboard(spendProof);
TxProof txproof = m_ctx->currentWallet->getSpendProof(txid, "");
Utils::copyToClipboard(txproof.proof);
});
connect(ui->historyWidget, &HistoryWidget::viewOnBlockExplorer, this, &MainWindow::onViewOnBlockExplorer);