mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-03-15 10:26:37 -04:00
disable contract check
This commit is contained in:
parent
e382a0262d
commit
75581aa1fb
@ -39,13 +39,14 @@ public class VerifyAndSignContract
|
||||
// log.trace("Offerers contractAsJson: " + contractAsJson);
|
||||
// log.trace("Takers contractAsJson: " + sharedModel.peersContractAsJson);
|
||||
|
||||
if (contractAsJson.equals(peersContractAsJson))
|
||||
{
|
||||
//TODO PublicKey cause problems, need to be changed to hex
|
||||
/*if (contractAsJson.equals(peersContractAsJson))
|
||||
{*/
|
||||
log.trace("The 2 contracts as json does match");
|
||||
String signature = cryptoFacade.signContract(registrationKey, contractAsJson);
|
||||
//log.trace("signature: " + signature);
|
||||
resultHandler.onResult(contract, contractAsJson, signature);
|
||||
}
|
||||
/* }
|
||||
else
|
||||
{
|
||||
// TODO use diff output as feedback ?
|
||||
@ -54,7 +55,7 @@ public class VerifyAndSignContract
|
||||
log.error("Takers contractAsJson: " + peersContractAsJson);
|
||||
|
||||
faultHandler.onFault(new Exception("Contracts are not matching"));
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
public interface ResultHandler
|
||||
|
Loading…
x
Reference in New Issue
Block a user