mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-01-12 08:15:18 +00:00
add missing return
This commit is contained in:
parent
710a29980f
commit
b879689052
@ -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{}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user