diff --git a/src/genesis.ts b/src/genesis.ts
index e87b8b6f16f4499244393de336ff31d556ce3bc6..1e29d3586a82a8718307dad2b1f69015cbe316f8 100644
--- a/src/genesis.ts
+++ b/src/genesis.ts
@@ -11,7 +11,9 @@ export async function saveGenesis(ctx: Ctx, block: Block) {
   ctx.log.info("Loading genesis");
 
   // Read genesis json
-  const genesis: Genesis = JSON.parse(readFileSync(path.resolve(process.cwd(), genesis_path)).toString()).genesis.runtimeAndCode.runtime;
+  const genesisData = JSON.parse(readFileSync(path.resolve(process.cwd(), genesis_path)).toString()).genesis;
+  // Accomodate for versions of polkadot before and after 1.6.0:
+  const genesis: Genesis = genesisData.runtimeAndCode?.runtime || genesisData.runtimeGenesis.patch;
 
   const accounts: Map<Address, Account> = new Map();
   const identities: Map<IdtyIndex, Identity> = new Map();