Commit c28116cb authored by obscuren's avatar obscuren

Fixed incorrect recipient derived

parent 06697775
......@@ -80,7 +80,7 @@ func (self *Transaction) From() (common.Address, error) {
return common.Address{}, errors.New("invalid public key")
}
var addr common.Address
copy(addr[:], crypto.Sha3(pubkey[1:]))
copy(addr[:], crypto.Sha3(pubkey[1:])[12:])
return addr, nil
}
......
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