Skip to content

Commit c60fa1a

Browse files
committed
fix example in readme
1 parent e41b6cd commit c60fa1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dapp/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ We can symbolically explore all possibilities to find the one that lets us withd
176176

177177
```solidity
178178
function proveFail_withdraw(uint guess) public {
179-
address(dapptutorial).transfer(1 ether);
179+
payable(address(dapptutorial)).transfer(1 ether);
180180
uint preBalance = address(this).balance;
181181
dapptutorial.withdraw(guess);
182182
uint postBalance = address(this).balance;

0 commit comments

Comments
 (0)