0

In eosio.cdt v.1.4.1

Calling twice in the same action

eosio::transaction txn{};
txn.actions.emplace_back(
  eosio::permission_level(_self, "active"_n),
  "eosio.token"_n,
  "transfer"_n,
  std::make_tuple(_self, to, asset, "payout_" + to_string(id)));
txn.send(_self.value, _self);

with a different id results in

FC Exception encountered while processing chain.push_transaction
Exception Details: 3040009 deferred_tx_duplicate: Duplicate deferred transaction

If not in the memo where can I set the nonce?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.