Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #10548 from EOSIO/fix-eosio-tester
Browse files Browse the repository at this point in the history
Init force_write_stride to 1
  • Loading branch information
heifner authored Jul 20, 2021
2 parents e3ba428 + 929fafe commit ab95694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/rodeos/include/b1/rodeos/rodeos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ struct rodeos_db_snapshot {
eosio::checksum256 irreversible_id = {};
uint32_t first = 0;
std::optional<uint32_t> writing_block = {};
uint32_t force_write_stride = 0;
uint32_t force_write_stride = 1; // used in modulus so init to 1 for eosio-tester

rodeos_db_snapshot(std::shared_ptr<rodeos_db_partition> partition, bool persistent, bool undo_stack_disabled = false);

Expand Down

0 comments on commit ab95694

Please sign in to comment.