require_auth() asserts that a particular auth is present.
How to write a contract that proceeds if and only if at least one of a set of auths is present?
EOS.IO Stack Exchange is a question and answer site for users and developers of distributed applications built on top of the blockchain operating system, EOS.IO. It only takes a minute to sign up.Sign up to join this community
eosio_assert( has_auth(accounta) || has_auth(accountb), "missing required authority of accounta or accountb");