mirror of https://github.com/ConsenSys/mythril
parent
622a1d63e6
commit
9787a4a666
@ -1,17 +1,16 @@ |
||||
pragma solidity ^0.4.17; |
||||
pragma solidity 0.5.0; |
||||
|
||||
contract Transfer1 { |
||||
|
||||
function transfer() { |
||||
msg.sender.transfer(1 ether); |
||||
} |
||||
contract Transfer1 { |
||||
function transfer() public { |
||||
msg.sender.transfer(1 ether); |
||||
} |
||||
|
||||
} |
||||
|
||||
contract Transfer2 { |
||||
|
||||
function transfer() { |
||||
msg.sender.transfer(2 ether); |
||||
} |
||||
|
||||
contract Transfer2 { |
||||
function transfer() public { |
||||
msg.sender.transfer(2 ether); |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue