Commit a2fdf9c
Return error for invalid onchain send fee rate
Previously, an invalid fee_rate_sat_per_vb (overflows) was silently
collapsed into None via .and_then(), causing the node to substitute
its default fee estimation without informing the user. Now the server
returns an InvalidRequestError and the CLI rejects invalid fee rates
before sending the request.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f105cbc commit a2fdf9c
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
634 | 634 | | |
635 | 635 | | |
636 | 636 | | |
| 637 | + | |
| 638 | + | |
| 639 | + | |
| 640 | + | |
| 641 | + | |
| 642 | + | |
637 | 643 | | |
638 | 644 | | |
639 | 645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
| |||
0 commit comments