Skip to content

Commit c3c761d

Browse files
authored
Merge pull request #831 from julianmrodri/fix-readme
Fix example in Readme
2 parents e41b6cd + c60fa1a commit c3c761d

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)