Skip to content

Commit

Permalink
fix: marshal newAsset proposal in batch term toProto
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Letang <[email protected]>
  • Loading branch information
jeremyletang committed Apr 25, 2024
1 parent 71b56e4 commit dd62183
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/types/governance_proposal_terms.go
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,8 @@ func (p BatchProposalTerms) changesToProto() []*vegapb.BatchProposalTermsChange
termsChange.Change = ch
case *vegapb.BatchProposalTermsChange_UpdateAsset:
termsChange.Change = ch
case *vegapb.BatchProposalTermsChange_NewAsset:
termsChange.Change = ch
case *vegapb.BatchProposalTermsChange_NewFreeform:
termsChange.Change = ch
case *vegapb.BatchProposalTermsChange_NewTransfer:
Expand Down

0 comments on commit dd62183

Please sign in to comment.