Closed aulneau closed 2 years ago
In this case, Ledger libraries for transport are expecting to receive instances of Buffer
and not Uint8Array
. You can check the signature of the method send
that we are using to communicate with the Ledger device here.
I agree that we should use ES standards!
Thanks for your contribution!
The JS library is assuming the existence of Buffer, it would be better to replace instances of
Buffer
withUint8Array
so folks would not need to polyfill it in certain contexts.:link: zboto Link