Merge pull request #317 from Kava-Labs/ro-tiny-pricefeed-fix

add missing return
This commit is contained in:
Ruaridh 2020-01-17 16:29:46 +01:00 committed by GitHub
commit 1b577fcdbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{}
}