Skip to content

Commit

Permalink
Merge pull request #1811 from shaangill025/issue#1809
Browse files Browse the repository at this point in the history
Fix: present-proof v1 send-proposal flow
  • Loading branch information
swcurran authored Jun 21, 2022
2 parents 01981b6 + 7fa7a3d commit 5ac6086
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,10 @@ async def handle(self, context: RequestContext, responder: BaseResponder):
"connection_id": connection_id,
},
) # holder initiated via proposal
presentation_exchange_record.presentation_request = indy_proof_request
presentation_exchange_record.presentation_request_dict = (
context.message.serialize()
)
except StorageNotFoundError: # verifier sent this request free of any proposal
presentation_exchange_record = V10PresentationExchange(
connection_id=connection_id,
Expand All @@ -94,7 +98,6 @@ async def handle(self, context: RequestContext, responder: BaseResponder):
trace=(context.message._trace is not None),
)

presentation_exchange_record.presentation_request = indy_proof_request
presentation_exchange_record = await presentation_manager.receive_request(
presentation_exchange_record
) # mgr only saves record: on exception, saving state null is hopeless
Expand Down

0 comments on commit 5ac6086

Please sign in to comment.