Fixed comment for Wallet.sendCoins regarding MIN_NONDUST_OUTPUT.

This commit is contained in:
Piotr Włodarek 2014-05-18 12:35:56 +02:00
parent 443b62481d
commit cd4219ccb1

View File

@ -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.</p>
*
* <p>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.</p>
* <p>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.</p>
*
* @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.</p>
*
* <p>You MUST ensure that value is smaller than {@link Transaction#MIN_NONDUST_OUTPUT} or the transaction will
* <p>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.</p>
*
* @param broadcaster a {@link TransactionBroadcaster} to use to send the transactions out.