This repository was archived by the owner on Apr 25, 2025. It is now read-only.
Commit cbdc79f
authored
fix: allow negative threshold for MinBlockHeight (#195)
Negative values are used to disable the threshold and currently appear
in unit tests: there is no reason not to allow them.
Signed-off-by: Matthieu Blottière <[email protected]>1 parent 5c3f546 commit cbdc79f
File tree
2 files changed
+15
-4
lines changed- pkg/fab/events/client/peerresolver/minblockheight
2 files changed
+15
-4
lines changedLines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
172 | 187 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
| |||
0 commit comments