had inadvertently swapped public and private keys