diff --git a/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py b/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py index cbd01a8cec..1736d22843 100644 --- a/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py +++ b/aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py @@ -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, @@ -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