aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/transaction.go
diff options
context:
space:
mode:
Diffstat (limited to 'ethchain/transaction.go')
-rw-r--r--ethchain/transaction.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/ethchain/transaction.go b/ethchain/transaction.go
index 16ea312c0..6ae7e77e1 100644
--- a/ethchain/transaction.go
+++ b/ethchain/transaction.go
@@ -167,10 +167,10 @@ func (tx *Transaction) String() string {
TX(%x)
Contract: %v
From: %x
+ To: %x
Nonce: %v
GasPrice: %v
Gas: %v
- To: %x
Value: %v
Data: 0x%x
V: 0x%x
@@ -178,12 +178,12 @@ func (tx *Transaction) String() string {
S: 0x%x
`,
tx.Hash(),
- len(tx.Recipient) > 1,
+ len(tx.Recipient) == 1,
tx.Sender(),
+ tx.Recipient,
tx.Nonce,
tx.GasPrice,
tx.Gas,
- tx.Recipient,
tx.Value,
tx.Data,
tx.v,