Added more JSON niceties to types
This commit is contained in:
		@@ -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 {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user