Skip to content

Commit cc347ec

Browse files
authored
Merge pull request bitpay#2125 from matiu/lint/server
fix lint
2 parents 3b99ab7 + 9e9e0c9 commit cc347ec

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

packages/bitcore-wallet-service/src/lib/common/defaults.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,5 +149,5 @@ module.exports = {
149149

150150
BE_KEY_SALT: 'bws-auth-keysalt',
151151

152-
BROADCAST_RETRY_TIME: 350, //ms
152+
BROADCAST_RETRY_TIME: 350, // ms
153153
};

packages/bitcore-wallet-service/src/lib/server.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export interface IWalletService {
6666
copayerId: string;
6767
appName: string;
6868
appVersion: string;
69-
parsedClientVersion: { agent: number; major: number; minor: number };
69+
parsedClientVersion: { agent: number; major: number; minor: number; };
7070
clientVersion: string;
7171
copayerIsSupportStaff: boolean;
7272
}
@@ -487,8 +487,8 @@ export class WalletService {
487487
return cb(new ClientError('Invalid network'));
488488
}
489489

490-
const derivationStrategy = Constants.DERIVATION_STRATEGIES.BIP44
491-
const addressType = opts.n === 1
490+
const derivationStrategy = Constants.DERIVATION_STRATEGIES.BIP44;
491+
const addressType = opts.n === 1
492492
? Constants.SCRIPT_TYPES.P2PKH
493493
: Constants.SCRIPT_TYPES.P2SH;
494494

@@ -1077,7 +1077,6 @@ export class WalletService {
10771077
);
10781078
}
10791079

1080-
10811080
const hash = WalletService._getCopayerHash(
10821081
opts.name,
10831082
opts.xPubKey,
@@ -4384,7 +4383,7 @@ export class WalletService {
43844383
addresses.push(addr);
43854384
i++;
43864385
}
4387-
//this.logi(i + ' addresses were added.');
4386+
// this.logi(i + ' addresses were added.');
43884387
}
43894388

43904389
this._store(wallet, addresses, next);

0 commit comments

Comments
 (0)