Skip to content

Commit 5ac6086

Browse files
authored
Merge pull request openwallet-foundation#1811 from shaangill025/issue#1809
Fix: present-proof v1 send-proposal flow
2 parents 01981b6 + 7fa7a3d commit 5ac6086

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

aries_cloudagent/protocols/present_proof/v1_0/handlers/presentation_request_handler.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ async def handle(self, context: RequestContext, responder: BaseResponder):
8080
"connection_id": connection_id,
8181
},
8282
) # holder initiated via proposal
83+
presentation_exchange_record.presentation_request = indy_proof_request
84+
presentation_exchange_record.presentation_request_dict = (
85+
context.message.serialize()
86+
)
8387
except StorageNotFoundError: # verifier sent this request free of any proposal
8488
presentation_exchange_record = V10PresentationExchange(
8589
connection_id=connection_id,
@@ -94,7 +98,6 @@ async def handle(self, context: RequestContext, responder: BaseResponder):
9498
trace=(context.message._trace is not None),
9599
)
96100

97-
presentation_exchange_record.presentation_request = indy_proof_request
98101
presentation_exchange_record = await presentation_manager.receive_request(
99102
presentation_exchange_record
100103
) # mgr only saves record: on exception, saving state null is hopeless

0 commit comments

Comments
 (0)