[bisq-network/bisq] [WIP] Apply rule to not allow BSQ outputs after BTC output for regular txs (#3413)
chimp1984
notifications at github.com
Sun Oct 20 16:30:36 UTC 2019
chimp1984 commented on this pull request.
> + private boolean isBlindVoteFeeOutput(TempTxOutput tempTxOutput) {
+ if (!optionalOpReturnType.isPresent()) {
+ return false;
+ }
+
+ if (optionalOpReturnType.get() != OpReturnType.BLIND_VOTE) {
+ return false;
+ }
+
+ // If it is the vote stake output we return false.
+ if (tempTxOutput.getIndex() == 0) {
+ return false;
+ }
+
+ // There must be a vote fee left
+ if (availableInputValue <= 0) {
It can be a BTC change output. We don't cover that in this code branch but later.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3413#discussion_r336785866
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191020/8d8fb414/attachment.html>
More information about the bisq-github
mailing list