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
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
My contract gives assertion failure with message: read
My action code is:
ACTION waxrng::getrandom(name nm/, uint64_t customer_id, uint64_t signing_value/){
auto itrCustomer = rngcustomers.find(nm.value);
if (itrCustomer == rngcustomers.end()){
rngcustomers.emplace(_self, [&](auto &rec){
//rec.customer_id = customer_id;
rec.nm = nm;
});
} else {
rngcustomers.modify(itrCustomer, _self, [&](auto &rec){
rec.nm = nm;
});
}
action(
{get_self(), "active"_n},
"orng.wax"_n,
"requestrand"_n,
std::tuple{nm.value,/customer_id, signing_value,/ get_self()}
).send();
}
The text was updated successfully, but these errors were encountered: