Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-marinica committed Dec 15, 2024
1 parent 39e64c2 commit 4580341
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@ where
///
/// Will crash for EGLD + ESDT multi transfers.
pub fn all_esdt_transfers(&self) -> ManagedRef<'static, A, ManagedVec<A, EsdtTokenPayment<A>>> {
let multi_esdt_handle: A::ManagedBufferHandle =
use_raw_handle(const_handles::CALL_VALUE_MULTI_ESDT);
let multi_esdt_handle: A::ManagedBufferHandle = self.all_esdt_transfers_unchecked();
if !A::static_var_api_impl()
.flag_is_set_or_update(StaticVarApiFlags::CALL_VALUE_ESDT_UNCHECKED_INITIALIZED)
{
Expand Down

0 comments on commit 4580341

Please sign in to comment.