Skip to content

Commit

Permalink
Remove superfluous logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sbellem committed Feb 14, 2023
1 parent 4b08bc7 commit b962711
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions x/compute/internal/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ func (k Keeper) GetSignerInfo(ctx sdk.Context, signer sdk.AccAddress) ([]byte, s
tx := sdktx.Tx{}
println(fmt.Sprintf("tx hash: %x", sha256.Sum256(ctx.TxBytes())))
err := k.cdc.Unmarshal(ctx.TxBytes(), &tx)
println(fmt.Sprintf("tx type: %T", tx))
println(fmt.Sprintf("tx.Tx struct: %#v", tx))
println(fmt.Sprintf("tx hash (from proto): %x", sha256.Sum256(k.cdc.MustMarshal(&tx))))
if err != nil {
return nil, 0, nil, nil, nil, sdkerrors.Wrap(types.ErrSigFailed, fmt.Sprintf("Unable to decode transaction from bytes: %s", err.Error()))
}
Expand Down

0 comments on commit b962711

Please sign in to comment.