summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2023-11-30 12:38:44 -0800
committerJohn Wiegley <johnw@newartisans.com>2024-08-05 08:35:56 -0700
commit75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c (patch)
tree896d7f2d1496bd19b2c5ba7a8b97285908bfde0c /src/xact.h
parentf230125ecc0761e6bd082ac0d916db4f17f0278d (diff)
downloadfork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.gz
fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.tar.bz2
fork-ledger-75e5eacebaf8b9ad3a18b6f1a91a8cb227fa5c9c.zip
Add support for --hashes=sha512_256 as another algorithm
Diffstat (limited to 'src/xact.h')
-rw-r--r--src/xact.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xact.h b/src/xact.h
index 2118c390..379ce778 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -128,7 +128,7 @@ public:
virtual bool valid() const;
- string hash(string nonce) const;
+ string hash(string nonce, hash_type_t hash_type) const;
};
class auto_xact_t : public xact_base_t