Skip to content
This repository has been archived by the owner on Sep 4, 2024. It is now read-only.

Commit

Permalink
fix: 🐛 Signers/multiSignatureAptos: Fix signature packing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseTheRobot committed Dec 21, 2023
1 parent eaad48f commit 5af2a86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/signing/chains/multiSignatureAptos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default class MultiSignatureAptosSigner implements Signer {
const signature = Buffer.alloc(this.signatureLength);
let sigPos = 0;
for (let i = 0; i < 32; i++) {
if (bitmap.includes(i)) {
if (bits.includes(i)) {
signature.set(signatures[sigPos++], i * 64);
}
}
Expand Down

0 comments on commit 5af2a86

Please sign in to comment.