Smaller cap
This commit is contained in:
@@ -931,13 +931,6 @@ again:
|
|||||||
if ( (amount= find_sprout_amount(coinstr,zcaddr)) > txfee )
|
if ( (amount= find_sprout_amount(coinstr,zcaddr)) > txfee )
|
||||||
{
|
{
|
||||||
// generate taddr, send max of 10000.0001
|
// generate taddr, send max of 10000.0001
|
||||||
static uint32_t counter;
|
|
||||||
switch ( (counter++ % 3) )
|
|
||||||
{
|
|
||||||
case 0: stdamount = 100 * SATOSHIDEN; break;
|
|
||||||
case 1: stdamount = 1000 * SATOSHIDEN; break;
|
|
||||||
case 2: stdamount = 10000 * SATOSHIDEN; break;
|
|
||||||
}
|
|
||||||
if ( amount > stdamount+txfee )
|
if ( amount > stdamount+txfee )
|
||||||
amount = stdamount + txfee;
|
amount = stdamount + txfee;
|
||||||
if ( getnewaddress(coinaddr,coinstr,"") == 0 )
|
if ( getnewaddress(coinaddr,coinstr,"") == 0 )
|
||||||
|
|||||||
Reference in New Issue
Block a user