check_authority(): fix #631 early end of recursion

This commit is contained in:
abitmore 2016-03-20 01:21:13 +01:00
parent 006d548633
commit 23b8843d2f

View file

@ -193,7 +193,7 @@ struct sign_state
if( approved_by.find(a.first) == approved_by.end() )
{
if( depth == max_recursion )
return false;
continue;
if( check_authority( get_active( a.first ), depth+1 ) )
{
approved_by.insert( a.first );