[bisq-network/bisq] New trade statistics (#4611)
chimp1984
notifications at github.com
Fri Oct 9 14:49:15 UTC 2020
@chimp1984 commented on this pull request.
> + tempPaymentMethod = String.valueOf(PaymentMethodMapper.valueOf(paymentMethod).ordinal());
+ } catch (Throwable t) {
+ tempPaymentMethod = paymentMethod;
+ }
+ this.paymentMethod = tempPaymentMethod;
+ this.date = date;
+ this.mediator = mediator;
+ this.refundAgent = refundAgent;
+ this.extraDataMap = ExtraDataMapValidator.getValidatedExtraDataMap(extraDataMap);
+
+ this.hash = hash == null ? createHash() : hash;
+ }
+
+ public byte[] createHash() {
+ // We create hash from all fields excluding hash itself. We use json as simple data serialisation.
+ // TradeDate is different for both peers so we ignore it for hash. ExtraDataMap is ignored as well as at
Yes will change the comment.
--
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/4611#discussion_r502481973
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20201009/35abf557/attachment.html>
More information about the bisq-github
mailing list