diff --git a/src/transaction/makeOutput.js b/src/transaction/makeOutput.js index fa15747..208bfcf 100644 --- a/src/transaction/makeOutput.js +++ b/src/transaction/makeOutput.js @@ -8,9 +8,9 @@ */ export default function makeOutput(condition, amount = 1) { return { - amount: JSON.stringify(amount), + amount: amount, condition, 'public_keys': condition.details.hasOwnProperty('public_key') ? [condition.details.public_key] : [], }; -} \ No newline at end of file +}