diff options
| author | Wladimir J. van der Laan <[email protected]> | 2011-12-28 11:14:05 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2011-12-28 11:14:05 +0100 |
| commit | 56c6e3696d0f8e222395be00f9e532412781b339 (patch) | |
| tree | 0e9a63c0a0e63ca2beafc4e954cb69bcddddc05f /src/qt/transactionview.cpp | |
| parent | Merge branch 'opevalcountfix' of https://github.com/laanwj/bitcoin (diff) | |
| download | discoin-56c6e3696d0f8e222395be00f9e532412781b339.tar.xz discoin-56c6e3696d0f8e222395be00f9e532412781b339.zip | |
Fix transaction type in UI: not all tx'es with "from"/"to" field are necessarily IP tx'es
- Also, prepare for OP_EVAL by calling all transactions without bitcoin address "SendToOther"/"RecvFromOther",
(IP tx'es are so rare they can be put together with funky EV_EVAL scripts)
Diffstat (limited to 'src/qt/transactionview.cpp')
| -rw-r--r-- | src/qt/transactionview.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index cba06298d..4c357d137 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -71,9 +71,9 @@ TransactionView::TransactionView(QWidget *parent) : typeWidget->addItem(tr("All"), TransactionFilterProxy::ALL_TYPES); typeWidget->addItem(tr("Received with"), TransactionFilterProxy::TYPE(TransactionRecord::RecvWithAddress) | - TransactionFilterProxy::TYPE(TransactionRecord::RecvFromIP)); + TransactionFilterProxy::TYPE(TransactionRecord::RecvFromOther)); typeWidget->addItem(tr("Sent to"), TransactionFilterProxy::TYPE(TransactionRecord::SendToAddress) | - TransactionFilterProxy::TYPE(TransactionRecord::SendToIP)); + TransactionFilterProxy::TYPE(TransactionRecord::SendToOther)); typeWidget->addItem(tr("To yourself"), TransactionFilterProxy::TYPE(TransactionRecord::SendToSelf)); typeWidget->addItem(tr("Mined"), TransactionFilterProxy::TYPE(TransactionRecord::Generated)); typeWidget->addItem(tr("Other"), TransactionFilterProxy::TYPE(TransactionRecord::Other)); |