aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ethpub/types.go6
1 files 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 {