Commit 8910fd6
committed
fix: Missing nil check for optional reply_tx
A previous refactor that made the "Unique Key" constructor fallible also added
sending the error condition back over the optional reply tx channel argument,
which is allowed to be nil.
The nil check over this argument was omitted, though, which can lead to crashes
in some situations.1 parent 0fb0427 commit 8910fd6
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
0 commit comments