Commit 052c135
committed
Merge rust-bitcoin/rust-miniscript#643: call reduce0 from reduce1 and 2
5c4851615a43373bb8b6bd15e1d144f26b9300d0 call reduce0 from reduce1 and 2 (Riccardo Casatta)
Pull request description:
reduce code duplication by calling the function that provide the same check and side effects
ACKs for top commit:
apoelstra:
ACK 5c4851615a43373bb8b6bd15e1d144f26b9300d0 neat!
Tree-SHA512: 7e37af561737e48dbe0d86d3bb86adc28d3a098155d6eb35f7686f7ff97597449de0b6356a9bae4dda943fb19f3cd9ff4f1b1bbca25cafc15f2b0eecb4dd27b31 file changed
+2
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
| 231 | + | |
237 | 232 | | |
238 | 233 | | |
239 | 234 | | |
| |||
246 | 241 | | |
247 | 242 | | |
248 | 243 | | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
| 244 | + | |
255 | 245 | | |
256 | 246 | | |
257 | 247 | | |
| |||
0 commit comments