From c4fa598f7b0cd7c5fad2ac8e7c81a795fad93b01 Mon Sep 17 00:00:00 2001 From: Mani Brar Date: Fri, 3 Jan 2025 12:56:55 +0530 Subject: [PATCH] fix: sendSnapshot txn update --- validator-cli/src/utils/claim.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/validator-cli/src/utils/claim.ts b/validator-cli/src/utils/claim.ts index d06c794c..1cb8653f 100644 --- a/validator-cli/src/utils/claim.ts +++ b/validator-cli/src/utils/claim.ts @@ -46,7 +46,6 @@ const getClaim = async ( claim.blocknumberVerification = verificationLogs[0].blockNumber; } if (challengeLogs.length > 0) { - console.log(challengeLogs); claim.challenger = "0x" + challengeLogs[0].topics[2].substring(26); } @@ -91,7 +90,10 @@ const getClaimResolveState = async ( }; if (sentSnapshotLogs.length === 0) return claimResolveState; - else claimResolveState.sendSnapshot.status = true; + else { + claimResolveState.sendSnapshot.status = true; + claimResolveState.sendSnapshot.txHash = sentSnapshotLogs[0].transactionHash; + } const status = await getMessageStatus(sentSnapshotLogs[0].transactionHash, veaInboxProvider, veaOutboxProvider); claimResolveState.execution.status = status;