aboutsummaryrefslogtreecommitdiffstats
path: root/ethchain/transaction.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-22 23:56:33 +0800
committerobscuren <geffobscura@gmail.com>2014-05-22 23:56:33 +0800
commitcc8464ce805279735f637ac710b25e2fb264f9aa (patch)
tree00a8f39f76da20eec6fe4016e2e7f32955486b57 /ethchain/transaction.go
parent230aafbf66ba747fb3796810adf3b1680f368e73 (diff)
downloadgo-tangerine-cc8464ce805279735f637ac710b25e2fb264f9aa.tar
go-tangerine-cc8464ce805279735f637ac710b25e2fb264f9aa.tar.gz
go-tangerine-cc8464ce805279735f637ac710b25e2fb264f9aa.tar.bz2
go-tangerine-cc8464ce805279735f637ac710b25e2fb264f9aa.tar.lz
go-tangerine-cc8464ce805279735f637ac710b25e2fb264f9aa.tar.xz
go-tangerine-cc8464ce805279735f637ac710b25e2fb264f9aa.tar.zst
go-tangerine-cc8464ce805279735f637ac710b25e2fb264f9aa.zip
Transaction querying
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,