Skip to content

Commit

Permalink
Fix regression when sweeping paper wallets.
Browse files Browse the repository at this point in the history
It was introduced with 61beb47.
  • Loading branch information
Andreas Schildbach committed Aug 26, 2016
1 parent 54cb8af commit 3012d31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void run()

final TransactionOutput output = new TransactionOutput(Constants.NETWORK_PARAMETERS, tx, uxtoValue, uxtoScriptBytes);

if (tx.getOutputs().size() >= uxtoIndex)
if (tx.getOutputs().size() > uxtoIndex)
{
// Work around not being able to replace outputs on transactions
final List<TransactionOutput> outputs = new ArrayList<TransactionOutput>(tx.getOutputs());
Expand Down

0 comments on commit 3012d31

Please sign in to comment.