mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-08 14:57:38 +02:00
funding+lnwire: remove ErrSynchronizingChain
This commit is contained in:
@@ -15,15 +15,10 @@ const (
|
||||
// active pending channels exceeds their maximum policy limit.
|
||||
ErrMaxPendingChannels FundingError = 1
|
||||
|
||||
// ErrSynchronizingChain is returned by a remote peer that receives a
|
||||
// channel update or a funding request while it's still syncing to the
|
||||
// latest state of the blockchain.
|
||||
ErrSynchronizingChain FundingError = 2
|
||||
|
||||
// ErrChanTooLarge is returned by a remote peer that receives a
|
||||
// FundingOpen request for a channel that is above their current
|
||||
// soft-limit.
|
||||
ErrChanTooLarge FundingError = 3
|
||||
ErrChanTooLarge FundingError = 2
|
||||
)
|
||||
|
||||
// String returns a human readable version of the target FundingError.
|
||||
@@ -31,8 +26,6 @@ func (e FundingError) String() string {
|
||||
switch e {
|
||||
case ErrMaxPendingChannels:
|
||||
return "Number of pending channels exceed maximum"
|
||||
case ErrSynchronizingChain:
|
||||
return "Synchronizing blockchain"
|
||||
case ErrChanTooLarge:
|
||||
return "channel too large"
|
||||
default:
|
||||
|
Reference in New Issue
Block a user