From 2344899e2aa6687046c526414d1fe371c403c178 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 2 Jan 2025 14:49:13 +0800 Subject: [PATCH] fix: fix an issue --- packages/taiko-client/proposer/transaction_builder/fallback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/taiko-client/proposer/transaction_builder/fallback.go b/packages/taiko-client/proposer/transaction_builder/fallback.go index 68b2bad368..49cc0d700e 100644 --- a/packages/taiko-client/proposer/transaction_builder/fallback.go +++ b/packages/taiko-client/proposer/transaction_builder/fallback.go @@ -124,7 +124,7 @@ func (b *TxBuilderWithFallback) BuildOntake( return nil, err } - if costCalldata.Cmp(costBlob) < 1 { + if costCalldata.Cmp(costBlob) < 0 { log.Info("Building a type-2 transaction", "costCalldata", costCalldata, "costBlob", costBlob) return txWithCalldata, nil }