Don't transfer zero FIL during rebalancing fork
This commit is contained in:
parent
9c6ee802cc
commit
2426700821
@ -312,11 +312,13 @@ func UpgradeFaucetBurnRecovery(ctx context.Context, sm *StateManager, cb ExecCal
|
|||||||
available = st.GetAvailableBalance(act.Balance)
|
available = st.GetAvailableBalance(act.Balance)
|
||||||
}
|
}
|
||||||
|
|
||||||
transfers = append(transfers, transfer{
|
if !available.IsZero() {
|
||||||
From: addr,
|
transfers = append(transfers, transfer{
|
||||||
To: builtin.ReserveAddress,
|
From: addr,
|
||||||
Amt: available,
|
To: builtin.ReserveAddress,
|
||||||
})
|
Amt: available,
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user