pallad icon indicating copy to clipboard operation
pallad copied to clipboard

When the wallet is locked, mina_signTransaction throws an error instead of prompting the user to unlock the wallet

Open DeMonkeyCoder opened this issue 6 months ago • 0 comments

  {
    "code": "invalid_union",
    "unionErrors": [
      {
        "issues": [
          {
            "code": "invalid_type",
            "expected": "string",
            "received": "undefined",
            "path": [
              "params",
              0,
              "transaction",
              "from"
            ],
            "message": "Required"
          }
        ],
        "name": "ZodError"
      },
      {
        "issues": [
          {
            "code": "invalid_type",
            "expected": "object",
            "received": "undefined",
            "path": [
              "params",
              0,
              "command"
            ],
            "message": "Required"
          },
          {
            "code": "unrecognized_keys",
            "keys": [
              "transaction"
            ],
            "path": [
              "params",
              0
            ],
            "message": "Unrecognized key(s) in object: 'transaction'"
          }
        ],
        "name": "ZodError"
      }
    ],
    "path": [
      "params",
      0
    ],
    "message": "Invalid input"
  }
]
    at get error (chrome-extension://pplhphpcpibebbgnpjdjfnefeohjiggp/src/background/index.js:2203:436763)
    at xs.parse (chrome-extension://pplhphpcpibebbgnpjdjfnefeohjiggp/src/background/index.js:2203:438166)
    at minaSignTransaction (chrome-extension://pplhphpcpibebbgnpjdjfnefeohjiggp/src/background/index.js:2203:520559)
    at async yt (chrome-extension://pplhphpcpibebbgnpjdjfnefeohjiggp/src/background/index.js:2203:300673)```

DeMonkeyCoder avatar May 07 '25 09:05 DeMonkeyCoder