Allow zero balance in block_create for state block sends (#817)

This commit is contained in:
cryptocode 2018-04-21 00:49:02 +02:00 committed by clemahieu
commit 9499c041e4

View file

@ -1238,7 +1238,7 @@ void rai::rpc_handler::block_create ()
}
if (type == "state")
{
if (previous_text.is_initialized () && !representative.is_zero () && !balance.is_zero () && (!link.is_zero () || link_text.is_initialized ()))
if (previous_text.is_initialized () && !representative.is_zero () && (!link.is_zero () || link_text.is_initialized ()))
{
if (work == 0)
{