[bisq-network/bisq] Add cancel trade feature (#4514)
chimp1984
notifications at github.com
Thu Sep 17 01:02:02 UTC 2020
@chimp1984 commented on this pull request.
> @@ -833,6 +832,67 @@ public Transaction sellerSignsAndFinalizesPayoutTx(Transaction depositTx,
return payoutTx;
}
+ ///////////////////////////////////////////////////////////////////////////////////////////
+ // Canceled trade payoutTx
+ ///////////////////////////////////////////////////////////////////////////////////////////
+
+ public byte[] signCanceledTradePayoutTx(Transaction depositTx,
+ Coin buyerPayoutAmount,
+ Coin sellerPayoutAmount,
+ String buyerPayoutAddressString,
+ String sellerPayoutAddressString,
+ DeterministicKey myMultiSigKeyPair,
+ byte[] buyerPubKey,
+ byte[] sellerPubKey)
+ throws AddressFormatException, TransactionVerificationException {
+ Transaction preparedPayoutTx = createPayoutTx(depositTx, buyerPayoutAmount, sellerPayoutAmount, buyerPayoutAddressString, sellerPayoutAddressString);
Will make a line break...
--
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/4514#discussion_r489837792
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20200916/86d3ff8f/attachment-0001.html>
More information about the bisq-github
mailing list