diff options
| author | Jonas Schnelli <[email protected]> | 2016-03-29 11:17:47 +0200 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2016-03-29 11:23:44 +0200 |
| commit | 7d5e31a82bbf39b9e1a5f0afe5ad9cbf4df9778b (patch) | |
| tree | c27c9a08be80cdc36b269c847e4a2e7b5d08dadf /src/qt/transactionrecord.h | |
| parent | Merge #7757: [qa] wallet: Wait for reindex to catch up (diff) | |
| download | discoin-7d5e31a82bbf39b9e1a5f0afe5ad9cbf4df9778b.tar.xz discoin-7d5e31a82bbf39b9e1a5f0afe5ad9cbf4df9778b.zip | |
[Qt] remove trailing output-index from transaction-id
The trailing output-index leads to cases where the user can't look-up the transaction ID in various systems.
Diffstat (limited to 'src/qt/transactionrecord.h')
| -rw-r--r-- | src/qt/transactionrecord.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactionrecord.h b/src/qt/transactionrecord.h index 49753ee31..95ab98c10 100644 --- a/src/qt/transactionrecord.h +++ b/src/qt/transactionrecord.h @@ -128,8 +128,8 @@ public: /** Return the unique identifier for this transaction (part) */ QString getTxID() const; - /** Format subtransaction id */ - static QString formatSubTxId(const uint256 &hash, int vout); + /** Return the output index of the subtransaction */ + int getOutputIndex() const; /** Update status from core wallet tx. */ |