Skip to content

Commit

Permalink
set credential_exchange state when created from a cached credential r…
Browse files Browse the repository at this point in the history
…equest (fixes #47)

Signed-off-by: Andrew Whitehead <[email protected]>
  • Loading branch information
andrewwhitehead committed Jul 9, 2019
1 parent ec92ade commit aa18f7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aries_cloudagent/messaging/credentials/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ async def prepare_send(
auto_issue=True,
connection_id=connection_id,
initiator=CredentialExchange.INITIATOR_SELF,
state=CredentialExchange.STATE_REQUEST_RECEIVED,
credential_definition_id=credential_definition_id,
schema_id=source_credential_exchange.schema_id,
credential_offer=source_credential_exchange.credential_offer,
Expand Down

0 comments on commit aa18f7e

Please sign in to comment.