File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -133,11 +133,11 @@ export default class ChannelStore {
133
133
// set the alias on each channel in the store
134
134
values ( this . channels ) . forEach ( c => {
135
135
const alias = aliases [ c . remotePubkey ] ;
136
- if ( alias ) {
136
+ if ( alias && alias !== c . alias ) {
137
137
c . alias = alias ;
138
- this . _store . log . info ( `updated channel ${ c . chanId } with alias ${ alias } ` ) ;
139
138
}
140
139
} ) ;
140
+ this . _store . log . info ( 'updated channels with aliases' , aliases ) ;
141
141
} ) ;
142
142
}
143
143
@@ -173,11 +173,11 @@ export default class ChannelStore {
173
173
// set the fee on each channel in the store
174
174
values ( this . channels ) . forEach ( c => {
175
175
const rate = feeRates [ c . chanId ] ;
176
- if ( rate ) {
176
+ if ( rate && c . remoteFeeRate !== rate ) {
177
177
c . remoteFeeRate = rate ;
178
- this . _store . log . info ( `updated channel ${ c . chanId } with remoteFeeRate ${ rate } ` ) ;
179
178
}
180
179
} ) ;
180
+ this . _store . log . info ( 'updated channels with feeRates' , feeRates ) ;
181
181
} ) ;
182
182
}
183
183
You can’t perform that action at this time.
0 commit comments