mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-06 22:29:10 -04:00
payment to MS fund
This commit is contained in:
parent
7d0676a995
commit
a4efa29bcd
37 changed files with 1081 additions and 546 deletions
src/main/java/io/bitsquare/crypto
|
@ -37,11 +37,9 @@ public class CryptoFacade
|
|||
return Utils.sha256hash160(concatenateChunks(stringifiedBankAccounts, signedBankAccountIDs).getBytes(Charsets.UTF_8));
|
||||
}
|
||||
|
||||
|
||||
// TODO MOCK
|
||||
public String signContract(String contractAsJson)
|
||||
public String signContract(ECKey key, String contractAsJson)
|
||||
{
|
||||
return contractAsJson;
|
||||
return key.signMessage(contractAsJson);
|
||||
}
|
||||
|
||||
// registration
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue