Suggestion: if you were to rename `publickey` to `fallbackpubkey` (or something similar) then it wouldl be more obvious that this is a constant and not anything that's coming from the callback.

Obviously it's not a big deal, but I thought I'd mention it because I had to look at that twice while I was reading this bit.