Another round of fixing ExtVM interface

This commit is contained in:
Paweł Bylica 2014-10-20 17:37:42 +02:00
parent 607458b193
commit f83e23a749

View file

@ -310,7 +310,7 @@ EXPORT void ext_create(i256* _endowment, i256* _initOff, i256* _initSize, h256*
auto initOff = static_cast<size_t>(llvm2eth(*_initOff));
auto initSize = static_cast<size_t>(llvm2eth(*_initSize));
auto&& initRef = bytesConstRef(Runtime::getMemory().data() + initOff, initSize);
auto&& onOp = bytesConstRef(); // TODO: Handle that thing
OnOpFunc onOp{}; // TODO: Handle that thing
h256 address = ext.create(endowment, &gas, initRef, onOp);
*_address = address;
}