Skip to content

Commit

Permalink
THORChain compatibility with Cosmos sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
HildisviniOttar committed Jul 15, 2021
1 parent 3ac8e98 commit a38c8fd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions user_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a38c8fd

Please sign in to comment.