mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-09 09:15:35 +02:00
sweep: ensure we factor in extra change addrs in MaxFeeRateAllowed
This commit is contained in:
@@ -262,7 +262,8 @@ func getWeightEstimate(inputs []input.Input, outputs []*wire.TxOut,
|
||||
|
||||
default:
|
||||
// Unknown script type.
|
||||
return nil, nil, errors.New("unknown script type")
|
||||
return nil, nil, fmt.Errorf("unknown script "+
|
||||
"type: %x", outputPkScript)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user