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 length must be 96, got 64
--> d224475d9f5e8330f1b81e73a71a485ef9e5386355f9b71a81f4612969eaf347:11:18
|
11 | let publicKey = PublicKey(
12 | publicKey: key.decodeHex(),
13 | signatureAlgorithm: SignatureAlgorithm(rawValue: signatureAlgorithm)!
14 | )
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^