Skip to content

Commit

Permalink
not to verify tx when getBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 committed Aug 24, 2023
1 parent d399f7c commit 5981528
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bcos-ledger/src/libledger/Ledger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1331,7 +1331,8 @@ void Ledger::asyncBatchGetTransactions(std::shared_ptr<std::vector<std::string>>
{
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));
}

Expand Down

0 comments on commit 5981528

Please sign in to comment.