[bisq-network/bisq] Arbitrator to sign (#3121)

Christoph Sturm notifications at github.com
Wed Aug 21 16:08:18 UTC 2019


christophsturm commented on this pull request.



> +    private final AccountAgeWitness accountAgeWitness;
+    private final Coin tradeAmount;
+    private final PublicKey sellerPubKey;
+
+    public BuyerDataItem(PaymentAccountPayload paymentAccountPayload,
+                         AccountAgeWitness accountAgeWitness,
+                         Coin tradeAmount,
+                         PublicKey sellerPubKey) {
+        this.paymentAccountPayload = paymentAccountPayload;
+        this.accountAgeWitness = accountAgeWitness;
+        this.tradeAmount = tradeAmount;
+        this.sellerPubKey = sellerPubKey;
+    }
+
+    @Override
+    public boolean equals(Object o) {

I'm not sure, but can't lombok generate the equals and hash code methods?

btw, in kotlin this class would be just one line

-- 
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/3121#pullrequestreview-277907148
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20190821/5aa52b25/attachment.html>


More information about the bisq-github mailing list