ElementsProject / ElementsProject/elements-miniscript

Possible to hit assertion failure in malleability check

Open
#29 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
15
Forks
17
PR merge metrics
No merged PRs in 30d

Description

Adding this to `miniscript/mod.rs` results in a panic.
```
#[test]
fn test_regression_29() {
let _ = Descriptor::::from_str("eltr(,thresh(1,spk_eq(,00)))");
}
```
```
assertion failed: self.mall.non_malleable || self.corr.input != Input::Zero', /store/home/apoelstra/code/ElementsProject/elements-miniscript/fuzzing/src/miniscript/types/mod.rs:556:9
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.