add missing return

This commit is contained in:
rhuairahrighairigh 2020-01-17 16:17:48 +01:00
parent 710a29980f
commit b879689052

View File

@ -34,7 +34,7 @@ func HandleMsgPostPrice(
} }
_, err = k.SetPrice(ctx, msg.From, msg.MarketID, msg.Price, msg.Expiry) _, err = k.SetPrice(ctx, msg.From, msg.MarketID, msg.Price, msg.Expiry)
if err != nil { if err != nil {
err.Result() return err.Result()
} }
return sdk.Result{} return sdk.Result{}
} }