| 128 | } |
| 129 | |
| 130 | bool CDelegateDBCache::GetActiveDelegates(VoteDelegateVector &voteDelegates) { |
| 131 | bool res = active_delegates_cache.GetData(voteDelegates); |
| 132 | if (res){ |
| 133 | assert(voteDelegates.size() != 0 ); |
| 134 | } |
| 135 | return res; |
| 136 | } |
| 137 | |
| 138 | bool CDelegateDBCache::SetActiveDelegates(const VoteDelegateVector &voteDelegates) { |
| 139 | return active_delegates_cache.SetData(voteDelegates); |
no test coverage detected