summaryrefslogtreecommitdiff
path: root/src/xact.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2023-11-24 23:33:59 -0800
committerJohn Wiegley <johnw@newartisans.com>2024-08-05 08:35:56 -0700
commit67de3bce35de8158cd25750901a322cc02071c95 (patch)
tree984346a9cdd73dcd7c9dbc9175143e1f759a8263 /src/xact.h
parent6e9fda06df1754f58c347e44a4579d059dfd36f0 (diff)
downloadfork-ledger-67de3bce35de8158cd25750901a322cc02071c95.tar.gz
fork-ledger-67de3bce35de8158cd25750901a322cc02071c95.tar.bz2
fork-ledger-67de3bce35de8158cd25750901a322cc02071c95.zip
Make xact hashes independent of posting order
Also, support matching provided hashes against a prefixed of the generated hash.
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 4c6fcd73..2118c390 100644
--- a/src/xact.h
+++ b/src/xact.h
@@ -128,7 +128,7 @@ public:
virtual bool valid() const;
- virtual string hash(string nonce) const;
+ string hash(string nonce) const;
};
class auto_xact_t : public xact_base_t