build fix (#4591)
This commit is contained in:
parent
70584115ab
commit
04ae6e7a52
1 changed files with 1 additions and 1 deletions
|
@ -549,7 +549,7 @@ impl Datastore {
|
||||||
// Convert the version to binary
|
// Convert the version to binary
|
||||||
let bytes: Vec<u8> = val.into();
|
let bytes: Vec<u8> = val.into();
|
||||||
// Attempt to set the current version in storage
|
// Attempt to set the current version in storage
|
||||||
catch!(txn, txn.set(key, bytes));
|
catch!(txn, txn.set(key, bytes, None));
|
||||||
// We set the version, so commit the transaction
|
// We set the version, so commit the transaction
|
||||||
catch!(txn, txn.commit());
|
catch!(txn, txn.commit());
|
||||||
// Return the current version
|
// Return the current version
|
||||||
|
|
Loading…
Reference in a new issue