Skip to content

Commit

Permalink
Merge pull request #1117 from apollo-sturdy/main
Browse files Browse the repository at this point in the history
fix: sort coins in `ConvertWasmCoinsToSdkCoins`
  • Loading branch information
alpe committed Dec 5, 2022
2 parents c5a7e5e + f7be3ba commit ef12d4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/wasm/keeper/handler_plugin_encoders.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ func ConvertWasmCoinsToSdkCoins(coins []wasmvmtypes.Coin) (sdk.Coins, error) {
}
toSend = append(toSend, c)
}
toSend.Sort()
return toSend, nil
}

Expand Down

0 comments on commit ef12d4b

Please sign in to comment.