From 67b13dd654aebb5eac31f4cc71978b6fd2017faf Mon Sep 17 00:00:00 2001 From: rain Date: Wed, 21 Feb 2018 15:22:27 +0000 Subject: [PATCH] remove deprecated var --- src/test.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test.sol b/src/test.sol index 094ea09..de8e100 100644 --- a/src/test.sol +++ b/src/test.sol @@ -45,9 +45,9 @@ contract DSTest { } modifier logs_gas() { - var startGas = msg.gas; + uint startGas = msg.gas; _; - var endGas = msg.gas; + uint endGas = msg.gas; log_named_uint("gas", startGas - endGas); } @@ -117,7 +117,7 @@ contract DSTest { } function assertEq0(bytes a, bytes b) internal { - var ok = true; + bool ok = true; if (a.length == b.length) { for (uint i = 0; i < a.length; i++) {