With the last CDT, to send transaction inside smart contract, here is my code
eosio::transaction out;
out.actions.emplace_back(eosio::permission_level{get_self(), "active"_n}, get_self(), "profilesum"_n, packed_data);
out.delay_sec = 0;
out.send( _self, _self,true);
When i compile with cdt. the error shows at below
error: no viable conversion from 'eosio::name' to 'const uint128_t' (aka 'const unsigned __int128') out.send( _self, _self,true);
Here is send() function, we need input sender_id with data type uint128_t. But what is sender_id? when i tried to build with old version, evething work fine with above code. Anyone know the reason?
void send(const uint128_t& sender_id, account_name payer, bool replace_existing = false) const { auto serialize = pack(*this); send_deferred(sender_id, payer, serialize.data(), serialize.size(), replace_existing); }