When specifying the details for the payment object I have noticed that if I leave amount blank I am not prompted to enter an amount by the bitcoin-qt 0.9 client.

xpd = x.PaymentDetails()
xpd.time = int(time())
xpd.outputs.add(amount = 10000000, script = serialized_script)
xpd.memo = 'this is xpd memo'
xpdstring = xpd.SerializeToString()
xpr = x.PaymentRequest()
xpr.serialized_payment_details = xpd.SerializeToString()
xprstring = xpd.SerializeToString()

If I do not specify an amount then it is set to zero by default and I am presented with the error that the bitcoin amount is too small and is considered 'dust'.

Please can someone help me understand how to prompt the user for a deposit amount if the amount field is blank?


Additionally I should note that I am using the testnet.

1 Answer 1


This is a known bug in Bitcoin-QT.

  • Much appreciated :)
    – derrend
    Jun 7, 2014 at 2:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.