Skip to content

Nothing returns or throws when ledger is trying to send eth_getEncryptionPublicKey #10111

@rstormsf

Description

@rstormsf

Describe the bug
When making a request to hardware connected wallet like Ledger, for eth_getEncryptionPublicKey method, nothing returns.
I'd expect to receive an exception or at least something from such request.

Steps to reproduce (REQUIRED)

try {

const callParamsForKey = {
        method: 'eth_getEncryptionPublicKey',
        params: [ethAccount]
      }

await window.ethereum.request(callParamsForKey)
} catch(e) {}

Expected behavior
Exception should be thrown if not supported

Browser details (please complete the following information):

  • OS: OSX
  • Hardware Wallet: Ledger Nano S Firmware version 1.6.0
  • Browser: Version 87.0.4280.88 (Official Build) (x86_64)
  • MetaMask Version: 8.1.9

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions