let -> var in testrpc patch

Means that older versions of node don't balk
uport
Alex Rea 8 years ago
parent cf878959f3
commit d2fb643151
  1. 2
      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');

Loading…
Cancel
Save