You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Common issue with make_tuple is using literal c-strings like make_tuple(name, "withdrawl") instead of make_tuple(name, std::string("withdrawl")). Worth pointing this out in the docs.
Also would be nice to provide an example of defining a struct instead of using make_tuple.
https://docs.eosnetwork.com/docs/latest/smart-contracts/actions#creating-the-tuple
Common issue with
make_tuple
is using literal c-strings likemake_tuple(name, "withdrawl")
instead ofmake_tuple(name, std::string("withdrawl"))
. Worth pointing this out in the docs.Also would be nice to provide an example of defining a struct instead of using
make_tuple
.Example:
https://github.com/cc32d9/eosio_point_of_sale/blob/dabf7c048130dc3be0197b120f7a2a73fcac1fe1/contracts/pos.cpp#L880
The text was updated successfully, but these errors were encountered: