File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 ,
You can’t perform that action at this time.
0 commit comments