Merge pull request #2941 from ecency/nt/points-ops-fix

removed extra stringification
This commit is contained in:
Feruz M 2024-11-12 14:17:14 +05:30 committed by GitHub
commit 40121358a5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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: