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