Skip to content

Commit

Permalink
Support off chain payment
Browse files Browse the repository at this point in the history
  • Loading branch information
nkoljanin committed Sep 30, 2024
1 parent 714ece3 commit bd1dbc4
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 2 deletions.
Binary file added cmd/camino-messenger-bot/__debug_bin17554046
Binary file not shown.
Binary file added cmd/camino-messenger-bot/__debug_bin1956619339
Binary file not shown.
Binary file added examples/rpc/partner-plugin/__debug_bin3449039968
Binary file not shown.
Binary file added internal/.DS_Store
Binary file not shown.
3 changes: 1 addition & 2 deletions internal/messaging/response_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,8 +245,7 @@ func (h *evmResponseHandler) mint(
// if contract address is zeroAddress, then it is native token
return "", nil, fmt.Errorf("TokenCurrency not supported yet")
case *typesv2.Currency_IsoCurrency:
// Add logic to handle IsoCurrency
return "", nil, fmt.Errorf("IsoCurrency not supported yet")
// for iso paument the on chain price is 0 and payment token is zero address
}

tx, err := h.bookingService.MintBookingToken(
Expand Down

0 comments on commit bd1dbc4

Please sign in to comment.