From 225ab3f7f17494f669a4a3031c94180811778506 Mon Sep 17 00:00:00 2001 From: cifer Date: Mon, 26 Feb 2018 10:59:51 +0800 Subject: [PATCH] supplement more comments on database::_opened variable --- libraries/chain/include/graphene/chain/database.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/chain/include/graphene/chain/database.hpp b/libraries/chain/include/graphene/chain/database.hpp index c80a67c9..ab8e9ca8 100644 --- a/libraries/chain/include/graphene/chain/database.hpp +++ b/libraries/chain/include/graphene/chain/database.hpp @@ -571,7 +571,8 @@ namespace graphene { namespace chain { * Whether database is successfully opened or not. * * The database is considered open when there's no exception - * or assertion fail during database::open() method. + * or assertion fail during database::open() method, and + * database::close() has not been called, or failed during execution. */ bool _opened = false; };