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
{{ message }}
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.
let wallet_address = allocation.recipient.parse().unwrap();
Proposed Solution
Return an error when parsing fails. While it is correct for the distribution to be halted before any transfers occur, the panic does not identify the problem address. Consider building all the instructions and then returning errors identifying any/all addresses that fail to parse.
The text was updated successfully, but these errors were encountered:
Problem
solana-tokens
assumes that all recipient strings in theinput-csv
are parsable as Pubkeys, and panics if not.solana/tokens/src/commands.rs
Line 183 in 105a6bf
solana/tokens/src/commands.rs
Line 278 in 105a6bf
Proposed Solution
Return an error when parsing fails. While it is correct for the distribution to be halted before any transfers occur, the panic does not identify the problem address. Consider building all the instructions and then returning errors identifying any/all addresses that fail to parse.
The text was updated successfully, but these errors were encountered: