Skip to content

Commit e7a3f98

Browse files
committed
Avoid triggering unneeded console.warn when throwing FailedTransactionError in tx.send()
1 parent 430fd7b commit e7a3f98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/cashscript/src/TransactionBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ export class TransactionBuilder {
318318
return raw ? await this.getTxDetails(txid, raw) : await this.getTxDetails(txid);
319319
} catch (e: any) {
320320
const reason = e.error ?? e.message;
321-
throw new FailedTransactionError(reason, this.getBitauthUri());
321+
throw new FailedTransactionError(reason, getBitauthUri(this.getLibauthTemplate()));
322322
}
323323
}
324324

0 commit comments

Comments
 (0)