[bisq-network/bisq] Add irregular txType, add check for total balance (#2587)
Manfred Karrer
notifications at github.com
Tue Mar 26 23:58:56 UTC 2019
ManfredKarrer commented on this pull request.
> @@ -393,19 +399,19 @@ static TxType evaluateTxTypeFromOpReturnType(TempTx tempTx, OpReturnType opRetur
boolean hasCorrectNumOutputs = tempTx.getTempTxOutputs().size() >= 3;
if (!hasCorrectNumOutputs) {
log.warn("Compensation/reimbursement request tx need to have at least 3 outputs");
- // This is not an issuance request but it should still not burn the BSQ change
- // TODO do we want to burn in such a case?
- return TxType.INVALID;
+ // This is not a valid issuance tx
+ // We tolerate such an incorrect tx and do not burn the BSQ
+ return TxType.IRREGULAR;
Agree.
--
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/2587#discussion_r269361408
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190326/5e871729/attachment.html>
More information about the bisq-github
mailing list