Commit 4d41291
fix(evm-wallet-experiment): getBalance queries delegator balance, not delegate
The delegator holds the tokens; the delegate only has permission to
transfer them. encodeBalanceOf(delegation.delegate) returned the
delegate's own balance, which is irrelevant to the delegation's spending
capacity. Query delegation.delegator instead.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 693337a commit 4d41291
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
217 | 217 | | |
218 | 218 | | |
219 | 219 | | |
220 | | - | |
| 220 | + | |
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| |||
0 commit comments