diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-22 23:56:33 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-22 23:56:33 +0800 |
commit | cc8464ce805279735f637ac710b25e2fb264f9aa (patch) | |
tree | 00a8f39f76da20eec6fe4016e2e7f32955486b57 /ethchain/transaction.go | |
parent | 230aafbf66ba747fb3796810adf3b1680f368e73 (diff) | |
download | dexon-cc8464ce805279735f637ac710b25e2fb264f9aa.tar.gz dexon-cc8464ce805279735f637ac710b25e2fb264f9aa.tar.zst dexon-cc8464ce805279735f637ac710b25e2fb264f9aa.zip |
Transaction querying
Diffstat (limited to 'ethchain/transaction.go')
-rw-r--r-- | ethchain/transaction.go | 6 |
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, |