Skip to content

Commit a4018fe

Browse files
fix: remove workaround for test case 56 and 57
The OP_DROP support is built on top of the rust-miniscript master branch, where the `and_n`/`and_b` issue is apparently fixed. Issue: BTC-1451
1 parent 542a28f commit a4018fe

File tree

1 file changed

+1
-5
lines changed
  • packages/wasm-miniscript/test

1 file changed

+1
-5
lines changed

packages/wasm-miniscript/test/test.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,7 @@ describe("Descriptor fixtures", function () {
4545
if (fixture.checksumRequired === false) {
4646
descriptorString = removeChecksum(descriptorString);
4747
}
48-
let expected = fixture.descriptor;
49-
if (i === 56 || i === 57) {
50-
// for reasons I do not really understand, the `a:and_n` gets converted into `a:and_b` for these
51-
expected = expected.replace("and_n", "and_b");
52-
}
48+
const expected = fixture.descriptor;
5349
assert.strictEqual(descriptorString, expected);
5450

5551
assert.doesNotThrow(() =>

0 commit comments

Comments
 (0)