mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
added more comment consistancy fix
Signed-off-by: Ali Shahverdi <ali@Alis-MacBook-Pro.local>
This commit is contained in:
parent
1c1b7788e8
commit
9c586e07d8
11 changed files with 11 additions and 11 deletions
|
|
@ -17,7 +17,7 @@ async function bid(ccp,wallet,user,orgMSP,auctionID,price) {
|
|||
try {
|
||||
|
||||
const gateway = new Gateway();
|
||||
//connect using Discovery enabled
|
||||
// Connect using Discovery enabled
|
||||
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ async function closeAuction(ccp,wallet,user,auctionID) {
|
|||
|
||||
const gateway = new Gateway();
|
||||
|
||||
//connect using Discovery enabled
|
||||
// Connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ async function createAuction(ccp,wallet,user,auctionID,item) {
|
|||
|
||||
const gateway = new Gateway();
|
||||
|
||||
//connect using Discovery enabled
|
||||
// Connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ async function endAuction(ccp,wallet,user,auctionID) {
|
|||
|
||||
const gateway = new Gateway();
|
||||
|
||||
//connect using Discovery enabled
|
||||
// Connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ async function queryAuction(ccp,wallet,user,auctionID) {
|
|||
|
||||
const gateway = new Gateway();
|
||||
|
||||
//connect using Discovery enabled
|
||||
// Connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ async function queryBid(ccp,wallet,user,auctionID,bidID) {
|
|||
|
||||
const gateway = new Gateway();
|
||||
|
||||
//connect using Discovery enabled
|
||||
// Connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ async function submitBid(ccp,wallet,user,auctionID,bidID) {
|
|||
|
||||
const gateway = new Gateway();
|
||||
|
||||
//connect using Discovery enabled
|
||||
// Connect using Discovery enabled
|
||||
await gateway.connect(ccp,
|
||||
{ wallet: wallet, identity: user, discovery: { enabled: true, asLocalhost: true } });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue