Skip to content

Commit

Permalink
fix: current leases undefined bug (#1034)
Browse files Browse the repository at this point in the history
  • Loading branch information
TarikGul committed Aug 31, 2022
1 parent 92e3e1d commit ae340ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/paras/ParasService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export class ParasService extends AbstractService {
blockNumber = number.unwrap();

currentLeaseHolders = leaseEntries
.filter(([_k, leases]) => leases[0].isSome)
.filter(([_k, leases]) => leases[0]?.isSome)
.map(([key, _l]) => key.args[0]);
}

Expand Down

0 comments on commit ae340ed

Please sign in to comment.