From 1d73452ff6173ba98b125ca73373443ae39b6000 Mon Sep 17 00:00:00 2001 From: 0xmuralik Date: Tue, 7 Mar 2023 14:51:54 +0530 Subject: [PATCH] replace fn --- x/auction/keeper/keeper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x/auction/keeper/keeper.go b/x/auction/keeper/keeper.go index 0f375972..b1cae14f 100644 --- a/x/auction/keeper/keeper.go +++ b/x/auction/keeper/keeper.go @@ -417,7 +417,7 @@ func (k Keeper) RevealBid(ctx sdk.Context, msg types.MsgRevealBid) (*types.Aucti return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "Invalid reveal string.") } - cid, err := wnsUtils.CIDFromJSONBytes(revealBytes) + cid, err := wnsUtils.CIDFromJSONBytesUsingIpldPrime(revealBytes) if err != nil { return nil, sdkerrors.Wrap(sdkerrors.ErrInvalidRequest, "Invalid reveal JSON.") }