lib/glueby/contract/timestamp/tx_builder/trackable.rb in glueby-1.1.2 vs lib/glueby/contract/timestamp/tx_builder/trackable.rb in glueby-1.2.0.beta.1
- old
+ new
@@ -14,9 +14,15 @@
@p2c_address, @payment_base = @wallet.internal_wallet
.create_pay_to_contract_address([prefix, data].join)
@txb.pay(p2c_address, P2C_DEFAULT_VALUE)
self
end
+
+ private
+
+ def input_amount
+ super + P2C_DEFAULT_VALUE
+ end
end
end
end
end
end
\ No newline at end of file