Skip to main content
Corrected URL, the old URL is no longer present. Also removed N() macro which is no longer needed.
Source Link
eosio_assert(
  has_auth(N(accounta)) || has_auth(N(accountb)),
  "missing required authority of accounta or accountb");

See: https://eosio.github.io/eos/group__actioncapi.htmlhttps://eosio.github.io/eosio.cdt/1.5.0/group__action.html#function-hasauth

eosio_assert(
  has_auth(N(accounta)) || has_auth(N(accountb)),
  "missing required authority of accounta or accountb");

See: https://eosio.github.io/eos/group__actioncapi.html

eosio_assert(
  has_auth(accounta) || has_auth(accountb),
  "missing required authority of accounta or accountb");

See: https://eosio.github.io/eosio.cdt/1.5.0/group__action.html#function-hasauth

Source Link
kkurian
  • 695
  • 4
  • 13

eosio_assert(
  has_auth(N(accounta)) || has_auth(N(accountb)),
  "missing required authority of accounta or accountb");

See: https://eosio.github.io/eos/group__actioncapi.html