WIP QT Clipboard

This commit is contained in:
obscuren
2015-02-19 11:51:38 +01:00
parent 03b8c6841b
commit 0057bb4ef6
8 changed files with 75 additions and 4 deletions

View File

@ -150,7 +150,7 @@ type Transaction struct {
func NewTx(tx *types.Transaction) *Transaction {
hash := toHex(tx.Hash())
receiver := toHex(tx.To())
if receiver == "0000000000000000000000000000000000000000" {
if len(receiver) == 0 {
receiver = toHex(core.AddressFromMessage(tx))
}
sender := toHex(tx.From())