Skip to content

Commit

Permalink
Add missing call validation
Browse files Browse the repository at this point in the history
  • Loading branch information
danhper committed Aug 1, 2024
1 parent 30bd2e3 commit 9466ede
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interpreter/functions/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ where
P: Provider<T, N>,
N: Network,
{
opts.validate_call()?;
let mut tx_req = _build_transaction(addr, &func, opts)?;
if let Some(from_) = opts.from {
tx_req = tx_req.with_from(from_);
Expand Down

0 comments on commit 9466ede

Please sign in to comment.