Skip to content

Commit efeb3e6

Browse files
committed
staticaddr: address and deposit adjustments for withdrawals
1 parent 273c57f commit efeb3e6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

staticaddr/deposit/fsm.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,16 @@ func (f *FSM) updateDeposit(notification fsm.Notification) {
274274
}
275275
}
276276

277+
/*func isRecoverable(state fsm.StateType) bool {
278+
if state == Withdrawing || state == PublishExpiredDeposit ||
279+
state == WaitForExpirySweep {
280+
281+
return true
282+
}
283+
284+
return false
285+
}*/
286+
277287
// Infof logs an info message with the deposit outpoint.
278288
func (f *FSM) Infof(format string, args ...interface{}) {
279289
log.Infof(

0 commit comments

Comments
 (0)