Skip to content

Commit

Permalink
fix tests related to e2e (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki authored Feb 12, 2025
1 parent b282f04 commit de0c9dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ describeSuite({
for (let i = 0; i < 3 * blocksPerSession; ++i) {
const latestBlockHash = await relayApi.rpc.chain.getBlockHash();
const author = (await relayApi.derive.chain.getHeader(latestBlockHash)).author;
if (author.toString() === operatorAccount.address) {
if (author?.toString() === operatorAccount.address) {
return;
}
await context.waitBlock(1, "Tanssi-relay");
Expand Down

0 comments on commit de0c9dd

Please sign in to comment.