mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
Merge pull request #317 from Kava-Labs/ro-tiny-pricefeed-fix
add missing return
This commit is contained in:
commit
1b577fcdbb
@ -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