Skip to content

Commit

Permalink
Remove address index from sign method
Browse files Browse the repository at this point in the history
  • Loading branch information
neithanmo committed Dec 9, 2024
1 parent 9639563 commit 238db20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,10 @@ export class PenumbraApp extends BaseApp {
}
}

async sign(path: BIP32Path, addressIndex: AddressIndex, blob: Buffer, metadata: string[] = []): Promise<ResponseSign> {
// First send the metadata

async sign(path: BIP32Path, blob: Buffer, metadata: string[] = []): Promise<ResponseSign> {
const chunks = this.prepareChunks(path, blob)
try {
// First send the metadata
await this._sendTxMetadata(metadata)

let signatureResponse = await this.signSendChunk(this.INS.SIGN, 1, chunks.length, chunks[0])
Expand Down

0 comments on commit 238db20

Please sign in to comment.