eos icon indicating copy to clipboard operation
eos copied to clipboard

contract with std::vector, run erro occurs!

Open chenlian2015 opened this issue 8 years ago • 1 comments

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

chenlian2015 avatar Apr 17 '18 08:04 chenlian2015

i am sorry, the problem does not exist

chenlian2015 avatar Apr 17 '18 08:04 chenlian2015