Commit b8185ae
committed
[Wallet] Add a check on zPIV spend to avoid a segfault
When zPIV coins are selected and their total value is less than the
target value of the payment, there was nothing to see it before
commiting the transaction. At which point the function would crap out
with an exception which QT would fail to handle, leading to a
segmentation fault. This new check avoids this situation.1 parent f226de0 commit b8185ae
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4677 | 4677 | | |
4678 | 4678 | | |
4679 | 4679 | | |
4680 | | - | |
| 4680 | + | |
| 4681 | + | |
| 4682 | + | |
| 4683 | + | |
| 4684 | + | |
| 4685 | + | |
| 4686 | + | |
4681 | 4687 | | |
4682 | 4688 | | |
4683 | 4689 | | |
| |||
0 commit comments