Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: present-proof v1 send-proposal flow #1811

Merged
merged 6 commits into from
Jun 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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