Added more JSON niceties to types

This commit is contained in:
Maran 2014-05-05 13:49:46 +02:00
parent 39b8c83ba6
commit 8adad0654a

@ -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 {