diff --git a/index.js b/index.js index c9b0224..3336626 100644 --- a/index.js +++ b/index.js @@ -1,11 +1,10 @@ var databutton = { build: function(o) { datacash.build({ "data": o.data }, function(err, tx) { - var dust = 0.00000546; var s = tx.outputs[0]._script.toASM(); var el = o.button.$el; var config = o.button; - config.outputs = [{ script: s, amount: dust, currency: 'BCH' }]; + config.outputs = [{ script: s, amount: 0, currency: 'BCH' }]; if (o.button && o.button.$cash && o.button.$cash.to) { o.button.$cash.to.forEach(function(receiver) { config.outputs.push({ to: receiver.address, amount: receiver.value/100000000, currency: 'BCH' })