account-lookup-service 17.8.0-snapshot.100 → 17.8.0-snapshot.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "account-lookup-service",
3
3
  "description": "Account Lookup Service is used to validate Party and Participant lookups.",
4
- "version": "17.8.0-snapshot.100",
4
+ "version": "17.8.0-snapshot.101",
5
5
  "license": "Apache-2.0",
6
6
  "author": "ModusBox",
7
7
  "contributors": [
@@ -75,17 +75,19 @@ class PutPartiesErrorService extends BasePartiesService {
75
75
  async identifyDestinationForErrorCallback () {
76
76
  this.stepInProgress('identifyDestinationForErrorCallback')
77
77
  const { destination } = this.state
78
- const schemeParticipant = await super.validateParticipant(destination)
79
- if (schemeParticipant) {
80
- this.state.requester = destination
81
- return
82
- }
83
78
 
84
79
  this.stepInProgress('lookupProxyDestination-4')
85
80
  const proxyName = this.state.proxyEnabled && await this.deps.proxyCache.lookupProxyByDfspId(destination)
81
+
86
82
  if (proxyName) {
87
83
  this.state.requester = proxyName
88
84
  return
85
+ } else {
86
+ const schemeParticipant = await super.validateParticipant(destination)
87
+ if (schemeParticipant) {
88
+ this.state.requester = destination
89
+ return
90
+ }
89
91
  }
90
92
 
91
93
  const errMessage = ERROR_MESSAGES.partyDestinationFspNotFound