Skip to content

Commit e104a73

Browse files
committed
chore: update type assertion
1 parent 9810049 commit e104a73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/psbt.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const initBuffers = (object: any): typeof preFixtures =>
1414
const data = result[1];
1515
const encoding = result[2];
1616

17-
return Buffer.from(data, encoding as any);
17+
return Buffer.from(data, encoding as BufferEncoding);
1818
});
1919

2020
const fixtures = initBuffers(preFixtures);

0 commit comments

Comments
 (0)