diff options
author | aaronbuchwald <[email protected]> | 2020-12-14 19:32:25 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-14 19:32:25 -0500 |
commit | 95cc7cb766d5bb23a771da35b3774159b2e1e1d1 (patch) | |
tree | 25b8a74353b87544f62f25f23ce0f721861a80f1 /plugin/evm/service.go | |
parent | ac8d216710a533e1dae2f1215ff41e7f0fc2effe (diff) | |
parent | de9c3bc629f7e712b3cd84b280db6a32b9bc7030 (diff) |
Merge pull request #70 from ava-labs/fix-linting
Fix linting and add to CI
Diffstat (limited to 'plugin/evm/service.go')
-rw-r--r-- | plugin/evm/service.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugin/evm/service.go b/plugin/evm/service.go index e0b73eb..8c9e16c 100644 --- a/plugin/evm/service.go +++ b/plugin/evm/service.go @@ -330,7 +330,6 @@ func (service *AvaxAPI) GetUTXOs(r *http.Request, args *api.GetUTXOsArgs, reply return fmt.Errorf("number of addresses given, %d, exceeds maximum, %d", len(args.Addresses), maxGetUTXOsAddrs) } - sourceChain := ids.ID{} if args.SourceChain == "" { return errNoSourceChain } @@ -339,7 +338,7 @@ func (service *AvaxAPI) GetUTXOs(r *http.Request, args *api.GetUTXOsArgs, reply if err != nil { return fmt.Errorf("problem parsing source chainID %q: %w", args.SourceChain, err) } - sourceChain = chainID + sourceChain := chainID addrSet := ids.ShortSet{} for _, addrStr := range args.Addresses { |