diff options
author | aaronbuchwald <[email protected]> | 2020-12-17 17:13:04 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-17 17:13:04 -0500 |
commit | 374b401198759f23bac435a78c5b1fa2c516aad9 (patch) | |
tree | f3d33fa99fc7d46dd2836bef500d8a1cf445e094 /plugin/evm/service.go | |
parent | c765f9b5b38d3e4b5f4261d3c4ab776dd9c3c97a (diff) | |
parent | 72f10d245f5514de4f586ca97784d599d00cc8f3 (diff) |
Dev
Diffstat (limited to 'plugin/evm/service.go')
-rw-r--r-- | plugin/evm/service.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugin/evm/service.go b/plugin/evm/service.go index 2bb06df..8c9e16c 100644 --- a/plugin/evm/service.go +++ b/plugin/evm/service.go @@ -24,7 +24,7 @@ import ( ) const ( - version = "coreth-v0.3.15" + version = "coreth-v0.3.17" ) // test constants @@ -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 { |