diff --git a/Dockerfile b/Dockerfile index 581597ba7ac..a417006072e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -ARG UBUNTU_VERSION=20.04 +ARG UBUNTU_VERSION=22.04 FROM ubuntu:${UBUNTU_VERSION} AS ubuntu-nodejs ARG NODEJS_MAJOR_VERSION=18 diff --git a/packages/hardware-ledger/src/LedgerKeyAgent.ts b/packages/hardware-ledger/src/LedgerKeyAgent.ts index 125b6c2bf51..3678ab781aa 100644 --- a/packages/hardware-ledger/src/LedgerKeyAgent.ts +++ b/packages/hardware-ledger/src/LedgerKeyAgent.ts @@ -67,7 +67,7 @@ const LedgerConnection = (_LedgerConnection as any).default : _LedgerConnection; type LedgerConnection = _LedgerConnection; -const CIP08_SIGN_HASH_THRESHOLD = 100; +const CIP08_SIGN_HASH_THRESHOLD = 190; const isUsbDevice = (device: any): device is USBDevice => typeof USBDevice !== 'undefined' && device instanceof USBDevice;