Skip to content

Conversation

@melonges
Copy link
Contributor

  1. According to the specification amount is optional so validation of payment for an unknown amount will be useful.

  2. However, wants to know the amount of transfer. In our case to avoid repeating actions that already happen in validateTransfer has been created the overload that returns tuple where the second part will be amount.

…ateTransfer` that returns amount

1.According to the specification [amount is optional](https://github.com/solana-labs/solana-pay/blob/master/SPEC.md#amount), so validation of payment for an unknown amount will be useful.
2. However, wants to know the amount of transfer. In our case, to avoid repeating actions that already happen in `validateTransfer`, has been created the overload that returns tuple, where the second part will be amount.
@melonges melonges force-pushed the validateTransfer-feat branch from 487a72c to 83276f9 Compare April 14, 2024 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant