Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitys7 committed Aug 21, 2024
1 parent 3fc4106 commit 2922c1e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/meshsecurityprovider/keeper/keeper.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package keeper

import (
"fmt"

"github.com/cometbft/cometbft/libs/log"

wasmkeeper "github.com/CosmWasm/wasmd/x/wasm/keeper"
Expand Down Expand Up @@ -98,7 +96,6 @@ func (k Keeper) HandleBondMsg(ctx sdk.Context, actor sdk.AccAddress, bondMsg *co
if actor.String() != k.VaultAddress(ctx) {
return nil, nil, sdkerrors.ErrUnauthorized.Wrapf("contract has no permission for mesh security operations")
}
fmt.Println("bond msg: ", bondMsg)

coin, err := wasmkeeper.ConvertWasmCoinToSdkCoin(bondMsg.Amount)
if err != nil {
Expand All @@ -115,7 +112,6 @@ func (k Keeper) HandleBondMsg(ctx sdk.Context, actor sdk.AccAddress, bondMsg *co
return nil, nil, err
}

fmt.Println("passssssssssssssssssssssssssssssssssssss")
return []sdk.Event{sdk.NewEvent(
types.EventTypeBond,
sdk.NewAttribute(sdk.AttributeKeyModule, types.ModuleName),
Expand Down

0 comments on commit 2922c1e

Please sign in to comment.