Commit 8adad065 authored by Maran's avatar Maran

Added more JSON niceties to types

parent 39b8c83b
...@@ -34,9 +34,9 @@ func NewPTx(tx *ethchain.Transaction) *PTx { ...@@ -34,9 +34,9 @@ func NewPTx(tx *ethchain.Transaction) *PTx {
} }
type PKey struct { type PKey struct {
Address string Address string `json:"address"`
PrivateKey string PrivateKey string `json:"privateKey"`
PublicKey string PublicKey string `json:"publicKey"`
} }
func NewPKey(key *ethchain.KeyPair) *PKey { func NewPKey(key *ethchain.KeyPair) *PKey {
......
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