Commit 3d0dec1
committed
Fix audit findings: add fee buffer to retry and restore final on vin/vout
- Add 10-byte vSize buffer to retry fee calculation to match the
nBytesBuffer used in the inner fee estimation loop, avoiding a
potential unnecessary extra retry.
- Restore `final` on vin/vout declarations since they are never
reassigned (only cleared via .clear()).
https://claude.ai/code/session_01D9ssjMkQAMoCUcrPzVVtEq1 parent 3069afa commit 3d0dec1
1 file changed
Lines changed: 3 additions & 3 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1614 | 1614 | | |
1615 | 1615 | | |
1616 | 1616 | | |
1617 | | - | |
1618 | | - | |
| 1617 | + | |
| 1618 | + | |
1619 | 1619 | | |
1620 | 1620 | | |
1621 | 1621 | | |
| |||
2158 | 2158 | | |
2159 | 2159 | | |
2160 | 2160 | | |
2161 | | - | |
| 2161 | + | |
2162 | 2162 | | |
2163 | 2163 | | |
2164 | 2164 | | |
| |||
0 commit comments