mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-03 20:35:17 +02:00
Merge #12620: Remove TransactionTableModel::TxIDRole
3b26b6af7 qt: Remove TransactionTableModel::TxIDRole (João Barbosa)
Pull request description:
The role `TxIDRole` is a duplicate of `TxHashRole`. This change favours `TxHashRole`.
Tree-SHA512: ad35933eae1cb6b242b25b8940d662c2c79c766732d76fdd410c80230ec084969294a8e5a126794707992a566076ef4452b592050f7af6c4fa7742891090803d
This commit is contained in:
@@ -254,7 +254,7 @@ bool TransactionRecord::statusUpdateNeeded() const
|
||||
return status.cur_num_blocks != chainActive.Height() || status.needsUpdate;
|
||||
}
|
||||
|
||||
QString TransactionRecord::getTxID() const
|
||||
QString TransactionRecord::getTxHash() const
|
||||
{
|
||||
return QString::fromStdString(hash.ToString());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user