user 5 yıl önce
ebeveyn
işleme
7955524f96
3 değiştirilmiş dosya ile 1 ekleme ve 7 silme
  1. 0 3
      lib/index.js
  2. 1 1
      lib/index.js.map
  3. 0 3
      src/index.ts

+ 0 - 3
lib/index.js

@@ -425,9 +425,7 @@ class BankClient {
             if (!this.privateKey) {
                 throw new Error('missing privateKey');
             }
-            console.log('about to sign');
             const signatureBytes = yield this.privateKey.sign(messageHexString);
-            console.log('signed');
             const publicKey = yield this.privateKey.getPublicKey();
             const pubHash = yield this.privateKey.getPublicHash();
             const result = {
@@ -437,7 +435,6 @@ class BankClient {
                 pubHash,
                 sig: signatureBytes,
             };
-            console.log('returning', result);
             return result;
         });
     }

Dosya farkı çok büyük olduğundan ihmal edildi
+ 1 - 1
lib/index.js.map


+ 0 - 3
src/index.ts

@@ -425,9 +425,7 @@ export class BankClient {
     if (!this.privateKey) {
       throw new Error('missing privateKey');
     }
-    console.log('about to sign');
     const signatureBytes = await this.privateKey.sign(messageHexString);
-    console.log('signed');
     const publicKey = await this.privateKey.getPublicKey();
     const pubHash = await this.privateKey.getPublicHash();
 
@@ -438,7 +436,6 @@ export class BankClient {
       pubHash,
       sig: signatureBytes,
     };
-    console.log('returning', result);
     return result;
   }
 }