Commit 543693b
committed
Merge #20378: wallet: fix potential division by 0 in WalletLogPrintf
440f8d3 fix potential devision by 0 (Jonas Schnelli)
Pull request description:
#20344 removed the divide-by-zero sanitizer suppression in `wallet/wallet.cpp` but kept a potential devision by zero in `wallet.cpp`'s fee logging.
Detected here https://bitcoinbuilds.org/index.php?job=ffb7d59f-379f-4f27-a273-a5595b8c5f07
ACKs for top commit:
practicalswift:
ACK 440f8d3
laanwj:
Code review ACK 440f8d3
hebasto:
re-ACK 440f8d3
Tree-SHA512: 9f7903d1e567497c5f972d39e9629c059151e705dbed0a6b88f7c6650c50ecf820f78e3e0f3e629c661d45a938c5d7659faae7c61e47ca8b3bdb029661bca55a1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3110 | 3110 | | |
3111 | 3111 | | |
3112 | 3112 | | |
3113 | | - | |
| 3113 | + | |
3114 | 3114 | | |
3115 | 3115 | | |
3116 | | - | |
| 3116 | + | |
3117 | 3117 | | |
3118 | 3118 | | |
3119 | 3119 | | |
| |||
0 commit comments