Initilize totals with 0 values

Addresses #596
This commit is contained in:
Sebastian Grewe 2013-08-14 11:03:56 +02:00
parent 0833bc3a3e
commit 0679601fbd

View File

@ -48,6 +48,8 @@ target and network difficulty and assuming a zero variance scenario.
</thead>
<tbody>
{assign var=rank value=1}
{assign var=totalexpectedshares value=0}
{assign var=totalshares value=0}
{section block $BLOCKSFOUND}
{assign var="totalshares" value=$totalshares+$BLOCKSFOUND[block].shares}
<tr class="{cycle values="odd,even"}">