pkg/vault/ledger/ledger/ledger.go
Method App.GetAppVersion
has 11 return statements (exceeds 4 allowed). Open
Open
func (a *App) GetAppVersion() (*Version, error) {
res, err := a.Exchange(&APDUCommand{
Cla: claGlobal,
Ins: insVersion,
})
Method App.GetAppVersion
has 51 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (a *App) GetAppVersion() (*Version, error) {
res, err := a.Exchange(&APDUCommand{
Cla: claGlobal,
Ins: insVersion,
})