File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -1230,22 +1230,8 @@ async def send_revoc_reg_entry(
1230
1230
"""Publish a revocation registry entry to the ledger."""
1231
1231
async with self .profile .session () as session :
1232
1232
wallet = session .inject (BaseWallet )
1233
- did_info = None
1234
-
1235
- try :
1236
- if issuer_did :
1237
- did_info = await wallet .get_local_did (issuer_did )
1238
- except WalletNotFoundError :
1239
- LOGGER .exception ("No issuer DID found for revocation registry entry" )
1240
-
1241
- if not did_info :
1242
- try :
1243
- did_info = await wallet .get_public_did ()
1244
- except WalletNotFoundError :
1245
- LOGGER .exception ("No public DID found for revocation registry entry" )
1246
- else :
1247
- del wallet
1248
-
1233
+ did_info = await wallet .get_public_did ()
1234
+ del wallet
1249
1235
if not did_info :
1250
1236
raise LedgerTransactionError (
1251
1237
"No issuer DID found for revocation registry entry"
You can’t perform that action at this time.
0 commit comments