From d2fb643151797a0402402921cace66ce27139ef6 Mon Sep 17 00:00:00 2001 From: Alex Rea Date: Mon, 3 Oct 2016 14:27:05 +0100 Subject: [PATCH] let -> var in testrpc patch Means that older versions of node don't balk --- hookIntoEvents.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hookIntoEvents.patch b/hookIntoEvents.patch index bc2ed50..535c721 100644 --- a/hookIntoEvents.patch +++ b/hookIntoEvents.patch @@ -21,7 +21,7 @@ // add data log.push(mem) + //Added to allow tracking of instrumentation even for .call() and throw -+ let toWrite = {}; ++ var toWrite = {}; + toWrite.address= log[0].toString('hex'); + toWrite.topics = log[1].map(function(x){return x.toString('hex')}) + toWrite.data = log[2].toString('hex');