From 9787a4a666c76b98e4a0d0e9d1f8c2c0328d66c1 Mon Sep 17 00:00:00 2001 From: Dominik Muhs Date: Sat, 24 Nov 2018 19:38:55 +0100 Subject: [PATCH] Fix multi contracts --- .../input_contracts/multi_contracts.sol | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/tests/testdata/input_contracts/multi_contracts.sol b/tests/testdata/input_contracts/multi_contracts.sol index e4a4464a..c8c4e76a 100644 --- a/tests/testdata/input_contracts/multi_contracts.sol +++ b/tests/testdata/input_contracts/multi_contracts.sol @@ -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); + } }