You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement verification to ensure consolidation transactions send funds to
the wallet's base address (rootAddress). This prevents malicious transactions
from redirecting consolidated funds to unauthorized addresses.
Changes:
- Add consolidationToBaseAddress verification in verifyTransaction method
- Verify transaction recipient matches wallet rootAddress for both native
(pay) and token (axfer) transactions
- Test both positive (valid consolidation) and negative (malicious) cases
The verification is triggered when params.verification.consolidationToBaseAddress
is set to true, which happens automatically in sendAccountConsolidations.
Ticket: WP-5729
TICKET: WP-5729
0 commit comments