Fix ledger-find-slot so that it doesn't require transaction codes