Skip to content

Commit

Permalink
Fixed comment for Wallet.sendCoins regarding MIN_NONDUST_OUTPUT.
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Włodarek committed May 18, 2014
1 parent 443b624 commit cd4219c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/main/java/com/google/bitcoin/core/Wallet.java
Original file line number Diff line number Diff line change
Expand Up @@ -1738,8 +1738,8 @@ public static SendRequest emptyWallet(Address destination) {
* 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.
Expand Down Expand Up @@ -1788,7 +1788,7 @@ public Transaction sendCoinsOffline(SendRequest request) throws InsufficientMone
* 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.
Expand Down

0 comments on commit cd4219c

Please sign in to comment.