diff --git a/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts b/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts index 5726e06f0..2aa884890 100644 --- a/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts +++ b/test/suites/zombie_tanssi_relay_eth_bridge/test_zombie_tanssi_relay_eth_bridge.ts @@ -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");