Skip to content

Commit

Permalink
Add ValidationId to mint_v1
Browse files Browse the repository at this point in the history
  • Loading branch information
VjeraTurk committed Nov 14, 2024
1 parent 484fa3e commit ab223fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/rpc/partner-plugin/handlers/book/mint/v1/mint_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ func (*MintServiceV1Server) Mint(ctx context.Context, mintRequest *bookv1.MintRe
BuyableUntil: &timestamppb.Timestamp{
Seconds: time.Now().Add(5 * time.Minute).Unix(),
},
Price: priceDetail.Price, // change to Token or Offchain to test different scenarios
ValidationId: mintRequest.ValidationId,
Price: priceDetail.Price, // change to Token or Offchain to test different scenarios
}

log.Printf("CMAccount %s received request from CMAccount %s", md.Recipient, md.Sender)
Expand Down

0 comments on commit ab223fe

Please sign in to comment.