From 9e27cb00da163ae797de8ae334e549ec2068fd2e Mon Sep 17 00:00:00 2001 From: Gav Wood Date: Wed, 8 Oct 2014 17:51:51 +0200 Subject: PoC-7: Maximum recursion limit 1024. --- vm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vm.cpp') diff --git a/vm.cpp b/vm.cpp index a90b122e..7829aa66 100644 --- a/vm.cpp +++ b/vm.cpp @@ -31,8 +31,8 @@ using namespace dev; using namespace dev::eth; using namespace dev::test; -FakeExtVM::FakeExtVM(eth::BlockInfo const& _previousBlock, eth::BlockInfo const& _currentBlock): - ExtVMFace(Address(), Address(), Address(), 0, 1, bytesConstRef(), bytesConstRef(), _previousBlock, _currentBlock) {} +FakeExtVM::FakeExtVM(eth::BlockInfo const& _previousBlock, eth::BlockInfo const& _currentBlock, unsigned _depth): /// TODO: XXX: remove the default argument & fix. + ExtVMFace(Address(), Address(), Address(), 0, 1, bytesConstRef(), bytesConstRef(), _previousBlock, _currentBlock, _depth) {} h160 FakeExtVM::create(u256 _endowment, u256* _gas, bytesConstRef _init, OnOpFunc) { -- cgit