Skip to content
Permalink
Browse files Browse the repository at this point in the history
changed auth rules check to skip those without verkey and role
Signed-off-by: Brent Zundel <brent.zundel@gmail.com>
  • Loading branch information
brentzundel authored and WadeBarnes committed Aug 12, 2020
1 parent 03db74e commit 55056f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions indy_node/test/nym_txn/test_nym_auth_rules.py
Expand Up @@ -334,4 +334,8 @@ def test_nym_edit(
if editor.verkey is None: # skip that as well since it doesn't make sense
return

if not ROLE in edit_op: # skip if the update operation doesn't changes neither role nor verkey
if not VERKEY in edit_op:
return

sign_and_validate(looper, txnPoolNodeSet[0], ActionIds.edit, editor, edit_op, did_ledger=edited)

0 comments on commit 55056f2

Please sign in to comment.