Added more JSON niceties to types

pull/150/head
Maran 11 years ago
parent 39b8c83ba6
commit 8adad0654a
  1. 6
      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 {

Loading…
Cancel
Save