Fixed incorrect public key param usage