mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-10-01 01:35:48 -04:00
arbitrator can re-sign offer
This commit is contained in:
parent
f842a9856f
commit
f08735e1e0
@ -1148,15 +1148,6 @@ public class OpenOfferManager implements PeerManager.Listener, DecryptedDirectMe
|
||||
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
|
||||
Offer offer = new Offer(request.getOfferPayload());
|
||||
BigInteger tradeFee = HavenoUtils.getMakerFee(offer.getAmount());
|
||||
|
Loading…
Reference in New Issue
Block a user