From 8adad0654a46e4cad925a14f1c238081958558df Mon Sep 17 00:00:00 2001 From: Maran Date: Mon, 5 May 2014 13:49:46 +0200 Subject: Added more JSON niceties to types --- ethpub/types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ethpub/types.go b/ethpub/types.go index 4d9f9ad85..522f0e7ac 100644 --- a/ethpub/types.go +++ b/ethpub/types.go @@ -34,9 +34,9 @@ func NewPTx(tx *ethchain.Transaction) *PTx { } type PKey struct { - Address string - PrivateKey string - PublicKey string + Address string `json:"address"` + PrivateKey string `json:"privateKey"` + PublicKey string `json:"publicKey"` } func NewPKey(key *ethchain.KeyPair) *PKey { -- cgit