mirror of
https://github.com/hackku21/loc-chain-app.git
synced 2026-03-02 03:40:13 +00:00
fixes
This commit is contained in:
@@ -14,8 +14,7 @@ class Transaction {
|
||||
var lesser = idLess ? id : otherUserId;
|
||||
var greater = idLess ? otherUserId : id;
|
||||
return Transaction(
|
||||
hash: DBCrypt()
|
||||
.hashpw("$lesser-$greater", KeyFileManager.keyPair.privateKey),
|
||||
hash: DBCrypt().hashpw("$lesser-$greater", DBCrypt().gensalt()),
|
||||
pubKey: KeyFileManager.keyPair.publicKey,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user