Support for Miniscript and Output Descriptors for rust-bitcoin
Creative Commons Zero v1.0 Universal
343
stars
135
forks
source link
Compiling invalid policy "thresh(2,pk(),thresh(0))" causes "index out of bounds: the len is 0 but the index is 0" #47
Closed
practicalswift closed 4 years ago
Compiling invalid policy
thresh(2,pk(),thresh(0))
causesindex out of bounds: the len is 0 but the index is 0
.Crash location:
https://github.com/apoelstra/rust-miniscript/blob/2aee5708e3e4f29a4d41301adc998d6b95fc4c76/src/policy/compiler.rs#L950-L950