Pact.crypto.verifySig was the default nacl.sign.detached.verify implementation which takes the parameters in a different format compared to what what Pact.crypto.sign returns.
Specifically sig and publicKey have to be Uint8Array while msg has to be hashed with blake2b256.
Pact.crypto.verifySig
was the defaultnacl.sign.detached.verify
implementation which takes the parameters in a different format compared to what whatPact.crypto.sign
returns. Specificallysig
andpublicKey
have to beUint8Array
whilemsg
has to be hashed with blake2b256.