Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Atomic trade #4414

Closed
wants to merge 12 commits into from
Expand Up @@ -763,7 +763,7 @@ public Tuple2<Transaction, Coin> prepareAtomicBsqInputs(Coin requiredInput) thro
log.error("Missing funds in takerPreparesAtomicBsqInputs");
throw new InsufficientBsqException(e.missing);
}
checkArgument(Restrictions.isAboveDust(change));
checkArgument(change.isZero() || Restrictions.isAboveDust(change));

return new Tuple2<>(dummyTx, change);
}
Expand Down