Overview
Store the expected payment memo in the contract and validate that incoming deposits reference it correctly, preventing funds from being credited to the wrong payment.
Tasks
Acceptance Criteria
- Deposits with wrong memo cannot be confirmed
- NestJS double-checks memo via contract before DB update
Overview
Store the expected payment memo in the contract and validate that incoming deposits reference it correctly, preventing funds from being credited to the wrong payment.
Tasks
memo: Bytesper payment in contract storagevalidate_memo(payment_id, memo)view functionvalidate_memobefore confirming paymentAcceptance Criteria