Skip to content

Commit 1c6f2ee

Browse files
OttoAllmendingerllm-git
andcommitted
fix(wasm-utxo): update type for signWithPrv to use Uint8Array
Use typed arrays consistently for binary data in the API. Issue: BTC-2652 Co-authored-by: llm-git <[email protected]>
1 parent 65afcaf commit 1c6f2ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/wasm-utxo/js/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ declare module "./wasm/wasm_utxo" {
3535

3636
interface WrapPsbt {
3737
signWithXprv(this: WrapPsbt, xprv: string): SignPsbtResult;
38-
signWithPrv(this: WrapPsbt, prv: Buffer): SignPsbtResult;
38+
signWithPrv(this: WrapPsbt, prv: Uint8Array): SignPsbtResult;
3939
}
4040
}
4141

0 commit comments

Comments
 (0)