diff options
author | Gav Wood <i@gavwood.com> | 2014-10-08 06:07:03 +0800 |
---|---|---|
committer | Gav Wood <i@gavwood.com> | 2014-10-08 06:07:03 +0800 |
commit | f24a017a06be2eff2329ae62391c3c7c1ea6e324 (patch) | |
tree | 91d5d7998fcb05d85d8391f3b8e0ef132b11a2c2 /vm.cpp | |
parent | d4a0fc07e131fe59d397481b4969c6e44fb6b6db (diff) | |
download | dexon-solidity-f24a017a06be2eff2329ae62391c3c7c1ea6e324.tar dexon-solidity-f24a017a06be2eff2329ae62391c3c7c1ea6e324.tar.gz dexon-solidity-f24a017a06be2eff2329ae62391c3c7c1ea6e324.tar.bz2 dexon-solidity-f24a017a06be2eff2329ae62391c3c7c1ea6e324.tar.lz dexon-solidity-f24a017a06be2eff2329ae62391c3c7c1ea6e324.tar.xz dexon-solidity-f24a017a06be2eff2329ae62391c3c7c1ea6e324.tar.zst dexon-solidity-f24a017a06be2eff2329ae62391c3c7c1ea6e324.zip |
PoC-7 crypto-contracts.
Diffstat (limited to 'vm.cpp')
-rw-r--r-- | vm.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -45,7 +45,7 @@ h160 FakeExtVM::create(u256 _endowment, u256* _gas, bytesConstRef _init, OnOpFun m_s.noteSending(myAddress); m_ms.internal.resize(m_ms.internal.size() + 1); - auto ret = m_s.create(myAddress, _endowment, gasPrice, _gas, _init, origin, &suicides, &posts, &m_ms ? &(m_ms.internal.back()) : nullptr, OnOpFunc(), 1); + auto ret = m_s.create(myAddress, _endowment, gasPrice, _gas, _init, origin, &suicides, &m_ms ? &(m_ms.internal.back()) : nullptr, OnOpFunc(), 1); if (!m_ms.internal.back().from) m_ms.internal.pop_back(); @@ -83,7 +83,7 @@ bool FakeExtVM::call(Address _receiveAddress, u256 _value, bytesConstRef _data, { m_s.noteSending(myAddress); m_ms.internal.resize(m_ms.internal.size() + 1); - auto na = m_s.create(myAddress, 0, gasPrice, _gas, init, origin, &suicides, &posts, &m_ms ? &(m_ms.internal.back()) : nullptr, OnOpFunc(), 1); + auto na = m_s.create(myAddress, 0, gasPrice, _gas, init, origin, &suicides, &m_ms ? &(m_ms.internal.back()) : nullptr, OnOpFunc(), 1); if (!m_ms.internal.back().from) m_ms.internal.pop_back(); if (!m_s.addresses().count(_receiveAddress)) @@ -96,7 +96,7 @@ bool FakeExtVM::call(Address _receiveAddress, u256 _value, bytesConstRef _data, } m_ms.internal.resize(m_ms.internal.size() + 1); - auto ret = m_s.call(_receiveAddress, Address() ? Address() : _receiveAddress, Address() ? Address() : myAddress, _value, gasPrice, _data, _gas, _out, origin, &suicides, &posts, &(m_ms.internal.back()), OnOpFunc(), 1); + auto ret = m_s.call(_receiveAddress, Address() ? Address() : _receiveAddress, Address() ? Address() : myAddress, _value, gasPrice, _data, _gas, _out, origin, &suicides, &(m_ms.internal.back()), OnOpFunc(), 1); if (!m_ms.internal.back().from) m_ms.internal.pop_back(); if (!ret) |