mirror of
https://github.com/feather-wallet/feather.git
synced 2025-02-02 11:16:56 +00:00
TxInfoDialog: disable get tx key for incoming txs
This commit is contained in:
parent
2c07bd8a3a
commit
6c87a6a141
1 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,12 @@ TxInfoDialog::TxInfoDialog(QSharedPointer<AppContext> ctx, TransactionInfo *txIn
|
|||
} else {
|
||||
ui->btn_rebroadcastTx->hide();
|
||||
}
|
||||
|
||||
if (txInfo->direction() == TransactionInfo::Direction_In) {
|
||||
ui->btn_CopyTxKey->setDisabled(true);
|
||||
ui->btn_CopyTxKey->setToolTip("No tx secret key available for incoming transactions.");
|
||||
}
|
||||
|
||||
//
|
||||
// if (txInfo->direction() == TransactionInfo::Direction_Out) {
|
||||
// // TODO: this will not properly represent coinjoin-like transactions.
|
||||
|
|
Loading…
Reference in a new issue