We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6de7e7e commit 335921fCopy full SHA for 335921f
packages/hardware-ledger/src/LedgerKeyAgent.ts
@@ -810,7 +810,7 @@ export class LedgerKeyAgent extends KeyAgentBase {
810
}
811
812
async signCip8Data(request: cip8.Cip8SignDataContext): Promise<Cip30DataSignature> {
813
- const hashPayload = request.payload.length >= CIP08_SIGN_HASH_THRESHOLD;
+ const hashPayload = request.payload.length / 2 >= CIP08_SIGN_HASH_THRESHOLD;
814
try {
815
const dRepPublicKey = await this.derivePublicKey(util.DREP_KEY_DERIVATION_PATH);
816
const dRepKeyHashHex = (await Crypto.Ed25519PublicKey.fromHex(dRepPublicKey).hash()).hex();
0 commit comments