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)); }