Commit 8278ba5e authored by obscuren's avatar obscuren

Merge branch 'develop' of github.com-obscure:ethereum/eth-go into develop

parents 6e98e570 2fec1af2
...@@ -70,6 +70,10 @@ type PTx struct { ...@@ -70,6 +70,10 @@ type PTx struct {
func NewPTx(tx *ethchain.Transaction) *PTx { func NewPTx(tx *ethchain.Transaction) *PTx {
hash := hex.EncodeToString(tx.Hash()) hash := hex.EncodeToString(tx.Hash())
receiver := hex.EncodeToString(tx.Recipient) receiver := hex.EncodeToString(tx.Recipient)
if receiver == "" {
receiver = hex.EncodeToString(tx.CreationAddress())
}
sender := hex.EncodeToString(tx.Sender()) sender := hex.EncodeToString(tx.Sender())
data := strings.Join(ethchain.Disassemble(tx.Data), "\n") data := strings.Join(ethchain.Disassemble(tx.Data), "\n")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment