From cd4219ccb1f6b5e0936c6d3d13f741935d44028d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C5=82odarek?= Date: Sun, 18 May 2014 12:35:56 +0200 Subject: [PATCH] Fixed comment for Wallet.sendCoins regarding MIN_NONDUST_OUTPUT. --- core/src/main/java/com/google/bitcoin/core/Wallet.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/com/google/bitcoin/core/Wallet.java b/core/src/main/java/com/google/bitcoin/core/Wallet.java index 84947927..4cd6bc28 100644 --- a/core/src/main/java/com/google/bitcoin/core/Wallet.java +++ b/core/src/main/java/com/google/bitcoin/core/Wallet.java @@ -1738,8 +1738,8 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha * prevent this, but that should only occur once the transaction has been accepted by the network. This implies * you cannot have more than one outstanding sending tx at once.

* - *

You MUST ensure that nanocoins is larger than {@link Transaction#MIN_NONDUST_OUTPUT} or the transaction will - * almost certainly be rejected by the network as dust.

+ *

You MUST ensure that nanocoins is not smaller than {@link Transaction#MIN_NONDUST_OUTPUT} or the transaction + * will almost certainly be rejected by the network as dust.

* * @param address The Bitcoin address to send the money to. * @param nanocoins How much currency to send, in nanocoins. @@ -1788,7 +1788,7 @@ public class Wallet extends BaseTaggableObject implements Serializable, BlockCha * successfully broadcast. This means that even if the network hasn't heard about your transaction you won't be * able to spend those same coins again.

* - *

You MUST ensure that value is smaller than {@link Transaction#MIN_NONDUST_OUTPUT} or the transaction will + *

You MUST ensure that value is not smaller than {@link Transaction#MIN_NONDUST_OUTPUT} or the transaction will * almost certainly be rejected by the network as dust.

* * @param broadcaster a {@link TransactionBroadcaster} to use to send the transactions out.