Skip to content

Commit

Permalink
Make some fields required
Browse files Browse the repository at this point in the history
  • Loading branch information
Kolezhniuk committed Jan 17, 2025
1 parent 698a030 commit b52a847
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions protocol/transparent_payment.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ type TransparentPaymentInstructionMessage struct {
Typ iden3comm.MediaType `json:"typ,omitempty"`
Type iden3comm.ProtocolMessage `json:"type"`
ThreadID string `json:"thid,omitempty"`
Body TransparentPaymentInstructionMessageBody `json:"body,omitempty"`
Body TransparentPaymentInstructionMessageBody `json:"body"`

From string `json:"from,omitempty"`
To string `json:"to,omitempty"`
From string `json:"from"`
To string `json:"to"`

CreatedTime *int64 `json:"created_time,omitempty"`
ExpiresTime *int64 `json:"expires_time,omitempty"`
Expand Down

0 comments on commit b52a847

Please sign in to comment.