utils: update for the type change in the currency conversion API.