https://github.com/handshake-org/ledger-app-hns/blob/a4ac01e6f6b5db978670a6e2fba2878b73a62ea9/src/apdu-signature.c#L930 I suppose 1-indexing makes common sense for most users, but it's technically incorrect.