diff --git a/Flare/flare-starter/src/mappings/mappingHandlers.ts b/Flare/flare-starter/src/mappings/mappingHandlers.ts index 24da5696..17ccea4c 100644 --- a/Flare/flare-starter/src/mappings/mappingHandlers.ts +++ b/Flare/flare-starter/src/mappings/mappingHandlers.ts @@ -46,7 +46,7 @@ export async function handleTransaction( transaction: EthereumTransaction, ): Promise { assert(transaction.args, "No transaction.args"); - + assert(transaction.to, "No transaction.to") const approval = SubmitHash.create({ id: transaction.hash, epochId: JSON.parse(transaction.args[0].toString()),