mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Merge pull request #2976 from laanwj/2013_09_txid_details
qt: add vout index to transaction id in transactions details dialog
This commit is contained in:
@@ -210,7 +210,7 @@ public:
|
||||
std::map<uint256, CWalletTx>::iterator mi = wallet->mapWallet.find(rec->hash);
|
||||
if(mi != wallet->mapWallet.end())
|
||||
{
|
||||
return TransactionDesc::toHTML(wallet, mi->second, unit);
|
||||
return TransactionDesc::toHTML(wallet, mi->second, rec->idx, unit);
|
||||
}
|
||||
}
|
||||
return QString("");
|
||||
@@ -571,7 +571,7 @@ QVariant TransactionTableModel::data(const QModelIndex &index, int role) const
|
||||
case AmountRole:
|
||||
return rec->credit + rec->debit;
|
||||
case TxIDRole:
|
||||
return QString::fromStdString(rec->getTxID());
|
||||
return rec->getTxID();
|
||||
case ConfirmedRole:
|
||||
// Return True if transaction counts for balance
|
||||
return rec->status.confirmed && !(rec->type == TransactionRecord::Generated &&
|
||||
|
||||
Reference in New Issue
Block a user