Skip to content

Commit

Permalink
examples/erc20 bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Benfield committed Nov 29, 2023
1 parent e3fa7ad commit f6d5b04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions examples/erc20/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/erc20/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl Weth {
self.erc20.burn(msg::sender(), amount)?;

// send the user their funds
call::transfer_eth(self, msg::sender(), amount)
call::transfer_eth(msg::sender(), amount)
}

// sums numbers
Expand Down

0 comments on commit f6d5b04

Please sign in to comment.