From e4a8aa45e727eda73f4e74f87fd006551da6e271 Mon Sep 17 00:00:00 2001 From: woodser Date: Mon, 9 May 2022 09:34:21 -0400 Subject: [PATCH] update to monero-java v0.7.0 --- build.gradle | 2 +- .../main/java/bisq/core/api/CoreDisputesService.java | 4 ++-- .../dispute/arbitration/ArbitrationManager.java | 4 ++-- .../protocol/tasks/ProcessUpdateMultisigRequest.java | 2 +- .../protocol/tasks/UpdateMultisigWithTradingPeer.java | 3 +-- .../tasks/buyer/BuyerPreparesPaymentSentMessage.java | 2 +- .../pendingtrades/PendingTradesDataModel.java | 2 +- gradle/verification-metadata.xml | 10 +++++----- 8 files changed, 14 insertions(+), 15 deletions(-) diff --git a/build.gradle b/build.gradle index be885126..330a5c87 100644 --- a/build.gradle +++ b/build.gradle @@ -41,7 +41,7 @@ configure(subprojects) { grpcVersion = '1.25.0' gsonVersion = '2.8.5' guavaVersion = '28.2-jre' - moneroJavaVersion = '0.6.4' + moneroJavaVersion = '0.7.0' httpclient5Version = '5.0' guiceVersion = '4.2.2' hamcrestVersion = '1.3' diff --git a/core/src/main/java/bisq/core/api/CoreDisputesService.java b/core/src/main/java/bisq/core/api/CoreDisputesService.java index 8f07b069..40317b14 100644 --- a/core/src/main/java/bisq/core/api/CoreDisputesService.java +++ b/core/src/main/java/bisq/core/api/CoreDisputesService.java @@ -102,7 +102,7 @@ public class CoreDisputesService { // Sends the openNewDisputeMessage to arbitrator, who will then create 2 disputes // one for the opener, the other for the peer, see sendPeerOpenedDisputeMessage. MoneroWallet multisigWallet = xmrWalletService.getMultisigWallet(trade.getId()); - String updatedMultisigHex = multisigWallet.getMultisigHex(); + String updatedMultisigHex = multisigWallet.exportMultisigHex(); disputeManager.sendOpenNewDisputeMessage(dispute, false, updatedMultisigHex, resultHandler, faultHandler); tradeManager.requestPersistence(); @@ -279,7 +279,7 @@ public class CoreDisputesService { } // send arbitrator's updated multisig hex with dispute result - disputeResult.setArbitratorUpdatedMultisigHex(multisigWallet.getMultisigHex()); + disputeResult.setArbitratorUpdatedMultisigHex(multisigWallet.exportMultisigHex()); // close multisig wallet xmrWalletService.closeMultisigWallet(dispute.getTradeId()); diff --git a/core/src/main/java/bisq/core/support/dispute/arbitration/ArbitrationManager.java b/core/src/main/java/bisq/core/support/dispute/arbitration/ArbitrationManager.java index 5db9bb27..73817378 100644 --- a/core/src/main/java/bisq/core/support/dispute/arbitration/ArbitrationManager.java +++ b/core/src/main/java/bisq/core/support/dispute/arbitration/ArbitrationManager.java @@ -338,7 +338,7 @@ public final class ArbitrationManager extends DisputeManager - - - + + + - - + +