Skip to content

Commit

Permalink
Merge pull request bcgov#252 from lynnbendixsen/remove-wallet-detach
Browse files Browse the repository at this point in the history
Removed detach wallet commands from 8 scripts.
  • Loading branch information
WadeBarnes authored Mar 29, 2023
2 parents 211d181 + b2147f0 commit 8a6d5e4
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 16 deletions.
3 changes: 1 addition & 2 deletions cli-scripts/apply-taa
Original file line number Diff line number Diff line change
Expand Up @@ -109,5 +109,4 @@ did use ${useDid}
# =================================================================================================================================================================

wallet close
wallet detach ${walletName}
exit
exit
3 changes: 1 addition & 2 deletions cli-scripts/create-signed-cred-def
Original file line number Diff line number Diff line change
Expand Up @@ -114,5 +114,4 @@ did use ${authorDid}
ledger cred-def sign=true endorser=${endorserDid} schema_id=${schemaId} signature_type=${signatureType} tag=${tag} primary=${primaryKey}
ledger save-transaction file=${outputFile}
wallet close
wallet detach ${walletName}
exit
exit
3 changes: 1 addition & 2 deletions cli-scripts/create-signed-schema
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,4 @@ ledger schema sign=true endorser=${endorserDid} name=${schemaName} version=${sch
ledger save-transaction file=${outputFile}
did list
wallet close
wallet detach ${walletName}
exit
exit
3 changes: 1 addition & 2 deletions cli-scripts/create-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,4 @@ wallet open ${walletName} key storage_credentials=${storageCredentials}
did new seed
did list
wallet close
wallet detach ${walletName}
exit
exit
3 changes: 1 addition & 2 deletions cli-scripts/did-list
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ load-plugin library=libindystrgpostgres.so initializer=postgresstorage_init
wallet open ${walletName} key storage_credentials=${storageCredentials}
did list
wallet close
wallet detach ${walletName}
exit
exit
3 changes: 1 addition & 2 deletions cli-scripts/endorse-transaction
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,4 @@ ledger load-transaction file=${inputFile}
ledger sign-multi
ledger save-transaction file=${outputFile}
wallet close
wallet detach ${walletName}
exit
exit
3 changes: 1 addition & 2 deletions cli-scripts/export-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -49,5 +49,4 @@ load-plugin library=libindystrgpostgres.so initializer=postgresstorage_init
wallet open ${walletName} key storage_credentials=${storageCredentials}
wallet export export_path=${exportPath} export_key
wallet close
wallet detach ${walletName}
exit
exit
3 changes: 1 addition & 2 deletions cli-scripts/import-wallet
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,4 @@ wallet import ${walletName} key export_path=${importPath} export_key storage_typ
wallet open ${walletName} key storage_credentials=${storageCredentials}
did list
wallet close
wallet detach ${walletName}
exit
exit

0 comments on commit 8a6d5e4

Please sign in to comment.