replace fn

This commit is contained in:
0xmuralik 2023-03-07 14:51:54 +05:30
parent c227a38e9a
commit 1d73452ff6

View File

@ -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.")
}