From 305ddf1fed4640c0a9ce9c3f693700c9dd9aea69 Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Tue, 27 May 2014 18:51:10 +0200 Subject: [PATCH] Pinhole optimise working fairly well... --- vm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm.cpp b/vm.cpp index 6c3d5b1b1..c2dc27910 100644 --- a/vm.cpp +++ b/vm.cpp @@ -163,7 +163,7 @@ public: thisTxCode.clear(); if (_o["code"].type() == str_type) - thisTxCode = compileLLL(_o["code"].get_str(), nullptr); + thisTxCode = compileLLL(_o["code"].get_str()); else for (auto const& j: _o["code"].get_array()) thisTxCode.push_back(toByte(j)); @@ -278,7 +278,7 @@ public: get<2>(a)[adr++] = toInt(k); } if (o["code"].type() == str_type) - get<3>(a) = compileLLL(o["code"].get_str(), nullptr); + get<3>(a) = compileLLL(o["code"].get_str()); else { get<3>(a).clear();