mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 04:29:22 +00:00
arbitrator can re-sign offer
This commit is contained in:
parent
f842a9856f
commit
f08735e1e0
1 changed files with 0 additions and 9 deletions
|
@ -1148,15 +1148,6 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// verify offer not seen before
|
|
||||||
Optional<SignedOffer> signedOfferOptional = getSignedOfferById(request.offerId);
|
|
||||||
if (signedOfferOptional.isPresent()) {
|
|
||||||
errorMessage = "We already signed offer id " + request.offerId;
|
|
||||||
log.warn(errorMessage);
|
|
||||||
sendAckMessage(request.getClass(), peer, request.getPubKeyRing(), request.getOfferId(), request.getUid(), false, errorMessage);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
// verify maker's trade fee
|
// verify maker's trade fee
|
||||||
Offer offer = new Offer(request.getOfferPayload());
|
Offer offer = new Offer(request.getOfferPayload());
|
||||||
BigInteger tradeFee = HavenoUtils.getMakerFee(offer.getAmount());
|
BigInteger tradeFee = HavenoUtils.getMakerFee(offer.getAmount());
|
||||||
|
|
Loading…
Reference in a new issue