refactor: tiny change

pull/3649/head
xiaohuo 4 years ago committed by Leo Chen
parent 1af411a227
commit ba32888f62
  1. 2
      rosetta/services/tx_operation.go

@ -465,8 +465,6 @@ func getSideEffectOperationsFromUndelegationPayoutsMap(
operations := []*types.Operation{} operations := []*types.Operation{}
if startingOperationIndex != nil { if startingOperationIndex != nil {
opIndex = *startingOperationIndex opIndex = *startingOperationIndex
} else {
opIndex = 0
} }
for delegator, undelegationMap := range undelegationPayouts.Data { for delegator, undelegationMap := range undelegationPayouts.Data {

Loading…
Cancel
Save