Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrubabasu committed Feb 8, 2024
1 parent 9c8a3e1 commit a62c55d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapper/cchainatomictx/tx_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func (t *TxParser) parseImportTx(importTx *evm.UnsignedImportTx) ([]*types.Opera
}

operations = append(operations, ins...)
outs := t.outsToOperations(len(ins), mapper.OpImport, importTx.Outs)
outs := outsToOperations(len(ins), mapper.OpImport, importTx.Outs)
operations = append(operations, outs...)

return operations, nil
Expand Down Expand Up @@ -131,7 +131,7 @@ func (t *TxParser) importedInToOperations(startIdx int64, opType string, ins []*
return operations, nil
}

func (*TxParser) outsToOperations(startIdx int, opType string, outs []evm.EVMOutput) []*types.Operation {
func outsToOperations(startIdx int, opType string, outs []evm.EVMOutput) []*types.Operation {
idx := startIdx
operations := []*types.Operation{}
for _, out := range outs {
Expand Down

0 comments on commit a62c55d

Please sign in to comment.