Skip to content

Commit bfde791

Browse files
committed
remove debug console.logs
1 parent 23eec74 commit bfde791

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/AcreBtcNew.ts

-4
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,6 @@ export default class AcreBtcNew {
323323
}
324324

325325
formatAcreWithdrawalData(withdrawalData: AcreWithdrawalData): AcreWithdrawalDataBuffer {
326-
console.log("withdrawalData", withdrawalData);
327-
console.log("dataLength", withdrawalData.data.length);
328326
const to = Buffer.from(this.cleanHexPrefix(withdrawalData.to.toString()), "hex").slice(-20);
329327

330328
let withdrawalValueBuffer = Buffer.from(this.cleanHexPrefix(withdrawalData.value), "hex").slice(-32);
@@ -386,7 +384,6 @@ export default class AcreBtcNew {
386384
}> {
387385
const pathElements: number[] = pathStringToArray(path);
388386
const withdrawalDataBuffer = this.formatAcreWithdrawalData(withdrawalData);
389-
console.log("withdrawalDataBuffer", withdrawalDataBuffer);
390387

391388
const sig = await this.client.signWithdrawal(pathElements, withdrawalDataBuffer);
392389
const buf = Buffer.from(sig, "base64");
@@ -415,7 +412,6 @@ export default class AcreBtcNew {
415412
const pathElements: number[] = pathStringToArray(path);
416413
const message = Buffer.from(messageHex, "hex");
417414
const sig = await this.client.signERC4361Message(message, pathElements);
418-
console.log("sig", sig);
419415
const buf = Buffer.from(sig, "base64");
420416

421417
const v = buf.readUInt8() - 27 - 4;

0 commit comments

Comments
 (0)