Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
(Sorry) . There was a rouge block I forgot to remove
Browse files Browse the repository at this point in the history
  • Loading branch information
vimystic committed Oct 3, 2023
1 parent 625cf26 commit b6542e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
5 changes: 3 additions & 2 deletions x/mailbox/keeper/genesis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
)

func (suite *KeeperTestSuite) TestGenesis() {
idMap := make([]string, 129)
for i := 0; i < 129; i++ {
idMap := make([]string, 128)
for i := 0; i < 128; i++ {
sender := "cosmos14hj2tavq8fpesdwxxcu44rty3hh90vhujrvcmstl4zr3txmfvw9s4hmalr"
recipientBech32 := "cosmos10qa7yajp3fp869mdegtpap5zg056exja3chkw5"
recipientBytes := sdk.MustAccAddressFromBech32(recipientBech32).Bytes()
Expand Down Expand Up @@ -47,6 +47,7 @@ func (suite *KeeperTestSuite) TestGenesis() {
}

func countPopulatedSlices(arr [32][]byte) int {
fmt.Printf("%+v", arr)
count := 0
for _, slice := range arr {
if len(slice) > 0 {
Expand Down
5 changes: 0 additions & 5 deletions x/mailbox/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,6 @@ func (k *Keeper) Dispatch(goCtx context.Context, msg *types.MsgDispatch) (*types
k.Branch = branch
}

err = k.Tree.Insert(id)
if err != nil {
return nil, err
}

// Emit the events
ctx.EventManager().EmitEvents(sdk.Events{
sdk.NewEvent(
Expand Down

0 comments on commit b6542e0

Please sign in to comment.