From ff2228b758a9687c34d9d31d8cdc579e0ffd9027 Mon Sep 17 00:00:00 2001 From: Gavin Yu Date: Wed, 20 Nov 2024 11:36:51 +0700 Subject: [PATCH] Update proof_submitter.go --- .../taiko-client/prover/proof_submitter/proof_submitter.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/taiko-client/prover/proof_submitter/proof_submitter.go b/packages/taiko-client/prover/proof_submitter/proof_submitter.go index 93da5e5c844..ffd4b19d188 100644 --- a/packages/taiko-client/prover/proof_submitter/proof_submitter.go +++ b/packages/taiko-client/prover/proof_submitter/proof_submitter.go @@ -292,13 +292,13 @@ func (s *ProofSubmitter) SubmitProof( } if block.Transactions().Len() == 0 { - return fmt.Errorf("invalid block without anchor transaction, blockID %s", proofWithHeader.BlockID) + return fmt.Errorf("Invalid block without anchor transaction, blockID %s", proofWithHeader.BlockID) } // Validate TaikoL2.anchor transaction inside the L2 block. anchorTx := block.Transactions()[0] if err = s.anchorValidator.ValidateAnchorTx(anchorTx); err != nil { - return fmt.Errorf("invalid anchor transaction: %w", err) + return fmt.Errorf("Invalid anchor transaction: %w", err) } // Build the TaikoL1.proveBlock transaction and send it to the L1 node.