Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
leonz789 committed Aug 13, 2024
1 parent 0a30dd6 commit cb54e7c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions precompiles/assets/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ import (
)

// oracleInfo: '[tokenName],[chainName],[tokenDecimal](,[interval],[contract](,[ChainDesc:{...}],[TokenDesc:{...}]))'
var tokenDescMatcher = regexp.MustCompile(`TokenDesc:{(.+?)}`)
var chainDescMatcher = regexp.MustCompile(`ChainDesc:{(.+?)}`)
var (
tokenDescMatcher = regexp.MustCompile(`TokenDesc:{(.+?)}`)
chainDescMatcher = regexp.MustCompile(`ChainDesc:{(.+?)}`)
)

func (p Precompile) DepositWithdrawParamsFromInputs(ctx sdk.Context, args []interface{}) (*assetskeeper.DepositWithdrawParams, error) {
inputsLen := len(p.ABI.Methods[MethodDepositTo].Inputs)
Expand Down

0 comments on commit cb54e7c

Please sign in to comment.