aws-samples / non-profit-blockchain

Builds a blockchain network and application to track donations to non-profit organizations, using Amazon Managed Blockchain
Apache License 2.0
374 stars 288 forks source link

Fix array name #167

Open tonylepage opened 2 years ago

tonylepage commented 2 years ago

Issue #, if available: No issue # found, but code does not compile.

Description of changes: In file setupChannel.js, the for loop iterates thru the array "peerEndpoints" object but references to this array are not spelled correct, it should be peerEndpoints[i] not peerEndpoint[i].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.