good morning!!!!

Skip to content
Snippets Groups Projects
Commit 8278ba5e authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

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

parents 6e98e570 2fec1af2
No related branches found
No related tags found
Loading
...@@ -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")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment