File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,17 @@ module.exports = function (logger) {
4747 return ;
4848 }
4949
50- logger . info ( '[fcw] Going to enroll for mspId ' , options ) ;
50+ var debug = { // this is just for console printing, no PEM here
51+ peer_urls : options . peer_urls ,
52+ channel_id : options . channel_id ,
53+ uuid : options . uuid ,
54+ ca_url : options . ca_url ,
55+ orderer_url : options . orderer_url ,
56+ enroll_id : options . enroll_id ,
57+ enroll_secret : options . enroll_secret ,
58+ msp_id : options . msp_id
59+ } ;
60+ logger . info ( '[fcw] Going to enroll for mspId ' , debug ) ;
5161
5262 // Make eCert kvs (Key Value Store)
5363 HFC . newDefaultKeyValueStore ( {
Original file line number Diff line number Diff line change @@ -33,7 +33,15 @@ module.exports = function (logger) {
3333 txId : chain . buildTransactionID ( nonce , obj . submitter ) ,
3434 nonce : nonce ,
3535 } ;
36- logger . debug ( '[fcw] Sending query req' , request ) ;
36+ var debug = { // this is just for console printing, no NONCE here
37+ chainId : options . channel_id ,
38+ chaincodeId : options . chaincode_id ,
39+ chaincodeVersion : options . chaincode_version ,
40+ fcn : options . cc_function ,
41+ args : options . cc_args ,
42+ txId : chain . buildTransactionID ( nonce , obj . submitter ) ,
43+ } ;
44+ logger . debug ( '[fcw] Sending query req' , debug ) ;
3745
3846 chain . queryByChaincode ( request
3947 //nothing
You can’t perform that action at this time.
0 commit comments