eos
eos copied to clipboard
contract with std::vector, run erro occurs!
source as:
std::vector<uint64_t> values;
bool currency::approve(account_name owner, account_name _spender, asset quantity){
// require_auth(owner);
values.push_back(123);
run contract once,get errors:
Error 3030020: Runtime Error Processing WASM
Error Details:
unreachable
i am sorry, the problem does not exist