diff --git a/flow.go b/flow.go index 1e4f4d3..992627d 100644 --- a/flow.go +++ b/flow.go @@ -588,6 +588,7 @@ func (f *KeycardFlow) getMetadataFlow(kc *keycardContext) (FlowStatus, error) { } m.Wallets[i].Address = k.Address + m.Wallets[i].PublicKey = k.PublicKey } } diff --git a/types.go b/types.go index 24bb58b..f28c0b6 100644 --- a/types.go +++ b/types.go @@ -56,8 +56,9 @@ type KeyPair struct { } type Wallet struct { - Path string `json:"path"` - Address string `json:"address,omitempty"` + Path string `json:"path"` + Address string `json:"address,omitempty"` + PublicKey hexString `json:"publicKey"` } type Metadata struct {