Commit d561946
committed
fix(commerce): case-insensitive Solana CAIP-2 detection in verify_x402_request
Mirrors the node-commerce defensive fix: `.lower().startswith('solana:')`
catches malformed credentials carrying uppercase or mixed-case CAIP-2
prefixes and routes them to the targeted Solana hint instead of the
generic 'Unsupported x402 network' fallback.1 parent aea2ac9 commit d561946
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
0 commit comments