removed extra stringification

This commit is contained in:
noumantahir 2024-11-12 11:18:11 +05:00
parent 2a7b76fd1f
commit e8d21d3761

View File

@ -165,16 +165,12 @@ export const buildTransferOpsArray = (
return getEngineActionOpArray(EngineActions.UNDELEGATE, from, to, amount, fundType, memo);
case TransferTypes.POINTS:
return buildActiveCustomJsonOpArr(
from,
'ecency_point_transfer',
JSON.stringify({
sender: from,
receiver: to,
amount,
memo,
}),
);
return buildActiveCustomJsonOpArr(from, 'ecency_point_transfer', {
sender: from,
receiver: to,
amount,
memo,
});
case TransferTypes.TRANSFER_SPK:
case TransferTypes.TRANSFER_LARYNX: