fix: lint fixes

This commit is contained in:
asiaziola
2023-01-02 11:37:50 +01:00
parent 8394a4d507
commit c50df6a82f
2 changed files with 12 additions and 10 deletions

View File

@@ -37,8 +37,10 @@ export class Signature {
}
private assertEnvForCustomSigner(walletOrSignature: CustomSignature) {
if (walletOrSignature.type !== 'arweave' &&
(!(this.warp.environment == 'mainnet') || !(this.warp.interactionsLoader.type() == 'warp'))) {
if (
walletOrSignature.type !== 'arweave' &&
(!(this.warp.environment == 'mainnet') || !(this.warp.interactionsLoader.type() == 'warp'))
) {
throw new Error(
`Unable to use signing function of type: ${walletOrSignature.type} when not in mainnet environment or bundling is disabled.`
);