Quick sanity check: derive the public key from privateKey and compare against expectedPubkey. Lets a UI tell the user "wrong key for this rotation slot" without waiting for an on-chain rejection.
privateKey
expectedPubkey
Quick sanity check: derive the public key from
privateKeyand compare againstexpectedPubkey. Lets a UI tell the user "wrong key for this rotation slot" without waiting for an on-chain rejection.