Skip to content

Commit

Permalink
undo minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Feb 20, 2020
1 parent e34f517 commit 6d045ea
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions x/bank/simulation/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ import (
"fmt"
"math/rand"

gogotypes "github.com/gogo/protobuf/types"

"github.com/cosmos/cosmos-sdk/x/bank/types"
"github.com/cosmos/cosmos-sdk/x/simulation"
)
Expand All @@ -20,7 +18,7 @@ func ParamChanges(r *rand.Rand) []simulation.ParamChange {
return []simulation.ParamChange{
simulation.NewSimParamChange(types.ModuleName, keySendEnabled,
func(r *rand.Rand) string {
return fmt.Sprintf("%v", gogotypes.BoolValue{Value: GenSendEnabled(r)})
return fmt.Sprintf("%v", GenSendEnabled(r))
},
),
}
Expand Down

0 comments on commit 6d045ea

Please sign in to comment.