diff options
author | obscuren <geffobscura@gmail.com> | 2014-05-14 19:54:40 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-05-14 19:54:40 +0800 |
commit | f4fa0d48cb10f925908062357be965c54370cba9 (patch) | |
tree | 4b274e1a6a25fb6a468d52a2e1e67775b42d0a0f /ethpub/types.go | |
parent | 0512113bdd5cc55ae35abd442b668ab5ed7a116b (diff) | |
download | dexon-f4fa0d48cb10f925908062357be965c54370cba9.tar.gz dexon-f4fa0d48cb10f925908062357be965c54370cba9.tar.zst dexon-f4fa0d48cb10f925908062357be965c54370cba9.zip |
Moved keyring to ethutil & removed old methods. Implements #20
Diffstat (limited to 'ethpub/types.go')
-rw-r--r-- | ethpub/types.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethpub/types.go b/ethpub/types.go index 7f25e48a6..c902afc56 100644 --- a/ethpub/types.go +++ b/ethpub/types.go @@ -39,7 +39,7 @@ type PKey struct { PublicKey string `json:"publicKey"` } -func NewPKey(key *ethchain.KeyPair) *PKey { +func NewPKey(key *ethutil.KeyPair) *PKey { return &PKey{ethutil.Hex(key.Address()), ethutil.Hex(key.PrivateKey), ethutil.Hex(key.PublicKey)} } |