diff --git a/user_app.go b/user_app.go index e8b6f98..ea07e67 100644 --- a/user_app.go +++ b/user_app.go @@ -40,6 +40,11 @@ type LedgerTHORChain struct { version VersionInfo } +// Compatibility with Cosmos apps calling convention +func FindLedgerCosmosUserApp() (*LedgerTHORChain, error) { + return FindLedgerTHORChainUserApp() +} + // FindLedgerTHORChainUserApp finds a THORChain user app running in a ledger device func FindLedgerTHORChainUserApp() (*LedgerTHORChain, error) { ledgerAPI, err := ledger_go.FindLedger()