I'm doing this but i'm getting an error, what should i improve?

void mainloan::checkdaily(uint64_t loan_id)

  auto itr = loan_table.find(loan_id);
  auto borrower = itr->borr_name;

  eosio::transaction t;
      permission_level(_self, "active"_n),
      "calipd"_n, //fuction for calculating interest per day on principle amount
  t.delay_sec = 20; 
  t.send(now(), _self);
  eosio::print("transaction sent.");

  defer_table.emplace(get_self(), [&](auto &df) {
    df.df_id = defer_table.available_primary_key();
    df.transaction_date = current_time_point_sec();


Error Details:
transaction declares authority '{"actor":"guru11111111","permission":"active"}', but does not have signatures for it under a provided delay of 20000 ms, provided permissions [{"actor":"guru11111111","permission":"eosio.code"}], provided keys [], and a delay max limit of 3888000000 ms

| improve this question | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.