Skip to content

Commit

Permalink
Allow zero balance in block_create for state block sends (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptocode authored and clemahieu committed Apr 20, 2018
1 parent 4bcd723 commit bf31036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rai/node/rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit bf31036

Please sign in to comment.