mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-21 04:06:44 +00:00
Another round of fixing ExtVM interface
This commit is contained in:
parent
607458b193
commit
f83e23a749
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue