From 5981528edc985e8abe2a23cdfdcd35e81164c829 Mon Sep 17 00:00:00 2001 From: JimmyShi22 <417711026@qq.com> Date: Thu, 24 Aug 2023 10:36:45 +0800 Subject: [PATCH] not to verify tx when getBlock --- bcos-ledger/src/libledger/Ledger.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bcos-ledger/src/libledger/Ledger.cpp b/bcos-ledger/src/libledger/Ledger.cpp index 2d4853206c..536f64ae10 100644 --- a/bcos-ledger/src/libledger/Ledger.cpp +++ b/bcos-ledger/src/libledger/Ledger.cpp @@ -1331,7 +1331,8 @@ void Ledger::asyncBatchGetTransactions(std::shared_ptr> { auto field = entry->getField(0); auto transaction = m_blockFactory->transactionFactory()->createTransaction( - bcos::bytesConstRef((bcos::byte*)field.data(), field.size())); + bcos::bytesConstRef((bcos::byte*)field.data(), field.size()), false, + false); transactions.push_back(std::move(transaction)); }