Skip to content

Commit

Permalink
chore: resolve conflics
Browse files Browse the repository at this point in the history
  • Loading branch information
Teja2045 committed Sep 17, 2024
1 parent cd52294 commit 2c78b13
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 26 deletions.
13 changes: 0 additions & 13 deletions keeper/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ func (k *Keeper) PreBlocker(ctx sdk.Context, req *abci.RequestFinalizeBlock) err
}

var blocksToSumit []int64
<<<<<<< HEAD

for i := fromHeight; i < endHeight; i++ {
blocksToSumit = append(blocksToSumit, int64(i))
Expand All @@ -130,18 +129,6 @@ func (k *Keeper) PreBlocker(ctx sdk.Context, req *abci.RequestFinalizeBlock) err
k.relayer.PostBlocks(ctx, blocksToSumit, k.cdc, req.ProposerAddress)
}

=======

for i := fromHeight; i < endHeight; i++ {
blocksToSumit = append(blocksToSumit, int64(i))
}

// only the proposer should be able to post the blocks
if bytes.Equal(req.ProposerAddress, k.proposerAddress) {
k.relayer.PostBlocks(ctx, blocksToSumit, k.cdc, req.ProposerAddress)
}

>>>>>>> da99450ba7959eeb555a583f0724cc95e34110a2
return nil
}

Expand Down
23 changes: 11 additions & 12 deletions types/genesis.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion types/query.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 2c78b13

Please sign in to comment.