diff --git a/src/psbt.js b/src/psbt.js index d6079f896..5d02e3778 100644 --- a/src/psbt.js +++ b/src/psbt.js @@ -76,7 +76,7 @@ class Psbt { // behavior to not require the previous transaction and instead // use a witnessUtxo. __UNSAFE_SIGN_NONSEGWIT: true, - __WARN_UNSAFE_SIGN_NONSEGWIT: true, + __WARN_UNSAFE_SIGN_NONSEGWIT: false, __TX_FROM_BUFFER: buf => this.constructor.transactionFromBuffer(buf, this.opts.network), }; diff --git a/ts_src/psbt.ts b/ts_src/psbt.ts index c87fe00a6..605a0f1ff 100644 --- a/ts_src/psbt.ts +++ b/ts_src/psbt.ts @@ -150,7 +150,7 @@ export class Psbt { // behavior to not require the previous transaction and instead // use a witnessUtxo. __UNSAFE_SIGN_NONSEGWIT: true, - __WARN_UNSAFE_SIGN_NONSEGWIT: true, + __WARN_UNSAFE_SIGN_NONSEGWIT: false, __TX_FROM_BUFFER: buf => (this.constructor as typeof Psbt).transactionFromBuffer( buf,