Skip to content

Commit

Permalink
Code review update
Browse files Browse the repository at this point in the history
  • Loading branch information
bobo-k2 committed Feb 13, 2024
1 parent f695a8d commit f0b1042
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/staking-v3/logic/repositories/DappStakingRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ export class DappStakingRepository implements IDappStakingRepository {
public async batchAllCalls(calls: ExtrinsicPayload[]): Promise<ExtrinsicPayload> {
const api = await this.api.getApi();

return calls.length == 1 ? calls[0] : api.tx.utility.batchAll(calls);
return calls.length === 1 ? calls[0] : api.tx.utility.batchAll(calls);
}

public async getCurrentEraInfo(): Promise<EraInfo> {
Expand Down

0 comments on commit f0b1042

Please sign in to comment.