Skip to content

Commit

Permalink
remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
dorin-iancu committed Feb 27, 2024
1 parent 35c0f05 commit 349f691
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions common/transaction/src/call_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,6 @@ impl<M: ManagedTypeApi> NestedDecode for CallData<M> {
args.push(arg);
}

if !input.is_depleted() {
return core::result::Result::Err(DecodeError::from("Input too long"));
}

core::result::Result::Ok(Self {
endpoint: endpoint_name,
gas_limit,
Expand Down

0 comments on commit 349f691

Please sign in to comment.