Skip to content

Commit

Permalink
Merge pull request EOSIO#26 from EOSIO/get-undo
Browse files Browse the repository at this point in the history
Provide read-only access to undo stack
  • Loading branch information
tbfleming authored Sep 27, 2018
2 parents 4724baf + 6eff122 commit 373a692
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/chainbase/chainbase.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ namespace chainbase {
return {begin, end};
}

const auto& stack()const { return _stack; }

private:
bool enabled()const { return _stack.size(); }

Expand Down

0 comments on commit 373a692

Please sign in to comment.