Whoops! 😨 Something unexpected happened...
[Error Code: 1101] error caused by: 1 error occurred:
* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: invalid public key: [], err: input 104e87e2d495ca5cda0004831e6ea2af2e42d5693bf5619269ad7df9f5119bb862915b19feabbc25586e32cb0ebf9071cc196137a4ce2e7849463df640feed2a is not a valid ECDSA_P256 key
--> 5da660179fefbf8c2dcebcff814576a9d9f43a5c07991fb2e6e7cd9633e9d05d:11:18
|
11 | let publicKey = PublicKey(
12 | publicKey: key.decodeHex(),
13 | signatureAlgorithm: SignatureAlgorithm(rawValue: signatureAlgorithm)!
14 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^