File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,9 @@ tape('reorg tests', (t) => {
177
177
178
178
let signerStates = ( blockchain as any ) . _cliqueLatestSignerStates
179
179
t . ok (
180
- ! signerStates . find ( ( s : any ) => s [ 0 ] . eqn ( 2 ) && s [ 1 ] [ 1 ] . equals ( beneficiary1 ) ) ,
180
+ ! signerStates . find (
181
+ ( s : any ) => s [ 0 ] . eqn ( 2 ) && s [ 1 ] . find ( ( a : Address ) => a . equals ( beneficiary1 ) )
182
+ ) ,
181
183
'should not find reorged signer state'
182
184
)
183
185
@@ -203,7 +205,9 @@ tape('reorg tests', (t) => {
203
205
204
206
signerStates = ( blockchain as any ) . _cliqueLatestSignerStates
205
207
t . ok (
206
- ! ! signerStates . find ( ( s : any ) => s [ 0 ] . eqn ( 2 ) && s [ 1 ] [ 1 ] . equals ( beneficiary2 ) ) ,
208
+ ! ! signerStates . find (
209
+ ( s : any ) => s [ 0 ] . eqn ( 2 ) && s [ 1 ] . find ( ( a : Address ) => a . equals ( beneficiary2 ) )
210
+ ) ,
207
211
'should find reorged signer state'
208
212
)
209
213
You can’t perform that action at this time.
0 commit comments