Skip to content

Commit

Permalink
Release 3.6.0 balance fix (FISCO-BCOS#4157)
Browse files Browse the repository at this point in the history
Co-authored-by: binliu21 <[email protected]>
Co-authored-by: jimmyshi <[email protected]>
  • Loading branch information
3 people authored Jan 4, 2024
1 parent fe07833 commit 201f892
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions bcos-executor/src/executive/TransactionExecutive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,17 +254,18 @@ CallParameters::UniquePtr TransactionExecutive::execute(CallParameters::UniquePt
callResults = std::move(callParameters);
callResults->type = CallParameters::REVERT;
callResults->status = (int32_t)TransactionStatus::RevertInstruction;
return callResults;
}
else
else if (callParameters->data.empty())
{
hostContext = nullptr;
callResults = std::move(callParameters);
callResults->type = CallParameters::FINISHED;
callResults->status = (int32_t)TransactionStatus::None;
return callResults;
}
}

else if (callParameters->create)
if (callParameters->create)
{
std::tie(hostContext, callResults) = create(std::move(callParameters));
}
Expand Down

0 comments on commit 201f892

Please sign in to comment.