mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05: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)
|
||||
if err != nil {
|
||||
err.Result()
|
||||
return err.Result()
|
||||
}
|
||||
return sdk.Result{}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user