Skip to content

Commit

Permalink
Merge pull request hyperledger#1481 from VladimirWork/load-script-fixes
Browse files Browse the repository at this point in the history
fix get revoc reg
  • Loading branch information
Toktar authored Oct 22, 2019
2 parents 82c5a1a + fe2e958 commit 9b04f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/performance/perf_load/perf_req_gen_revoc.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ class RGGetDefRevoc(RGDefRevoc):
def _rand_data(self):
raw = libnacl.randombytes(16)
submitter_did = rawToFriendly(raw)
cred_def_id = ':'.join([submitter_did, '03', 'CL', '1'])
def_revoc_id = ':'.join([submitter_did, '04', cred_def_id, 'CL_ACCUM', 'reg1'])
cred_def_id = ':'.join([submitter_did, '3', 'CL', '1'])
def_revoc_id = ':'.join([submitter_did, '4', cred_def_id, 'CL_ACCUM', 'reg1'])
return def_revoc_id

async def on_pool_create(self, pool_handle, wallet_handle, submitter_did, sign_req_f, send_req_f, *args, **kwargs):
Expand Down

0 comments on commit 9b04f9f

Please sign in to comment.