Skip to content

Commit 8377033

Browse files
committed
fix prettier
1 parent 1b4272d commit 8377033

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/pages/home/home.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,6 @@ export class HomePage {
182182
this.fetchWalletStatus(opts);
183183
};
184184

185-
186185
private walletActionHandler = opts => {
187186
this.logger.debug('RECV Local/TxAction @home', opts);
188187
opts = opts || {};
@@ -629,6 +628,7 @@ export class HomePage {
629628
})
630629
.catch(err => {
631630
if (err == 'INPROGRESS') return;
631+
632632
this.logger.warn('Update error:', err);
633633

634634
this.processWalletError(wallet, err);
@@ -639,9 +639,8 @@ export class HomePage {
639639
});
640640

641641
if (opts.alsoUpdateHistory) {
642-
this.fetchTxHistory({ walletId: opts.walletId, force: opts.force });
642+
this.fetchTxHistory({ walletId: opts.walletId, force: opts.force });
643643
}
644-
645644
});
646645
};
647646

src/providers/wallet/wallet.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,10 @@ export class WalletProvider {
319319
let diff = false;
320320
_.each(s1, (v, k) => {
321321
if (s2[k] == v) diff = true;
322-
else
323-
this.logger.debug(`Status condition not meet: ${k} is ${s2[k]} not ${v}` );
322+
else
323+
this.logger.debug(
324+
`Status condition not meet: ${k} is ${s2[k]} not ${v}`
325+
);
324326
});
325327

326328
return diff;
@@ -978,9 +980,9 @@ export class WalletProvider {
978980
});
979981
}
980982

981-
private isHistoryCached(wallet): boolean {
983+
private isHistoryCached(wallet): boolean {
982984
return wallet.completeHistory && wallet.completeHistoryIsValid;
983-
};
985+
}
984986

985987
public getTx(wallet, txid: string): Promise<any> {
986988
return new Promise((resolve, reject) => {
@@ -1012,7 +1014,6 @@ export class WalletProvider {
10121014
});
10131015
}
10141016

1015-
10161017
public fetchTxHistory(
10171018
wallet,
10181019
progressFn,

0 commit comments

Comments
 (0)