2

I'm trying to store an object in a multi-index table with one of the members a vector of std::string. When retrieving the data however it comes back as a vector of unsigned char, and I can't do anything with it. Why is this happening and what can I do about it?

1
  • 1
    Can you please share code that you have written? Commented Nov 3, 2018 at 13:22

1 Answer 1

1

When describing a vector in your ABI file, simply append the type with [] in pt 2.3 of documentation https://developers.eos.io/eosio-home/docs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.