mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
utxonursery: properly return dropped error
This commit is contained in:
parent
521c76d65a
commit
dbed552d8e
@ -166,6 +166,9 @@ func (u *utxoNursery) reloadPreschool() error {
|
||||
|
||||
return psclBucket.ForEach(func(outputBytes, kidBytes []byte) error {
|
||||
psclOutput, err := deserializeKidOutput(bytes.NewBuffer(kidBytes))
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
outpoint := psclOutput.outPoint
|
||||
sourceTxid := outpoint.Hash
|
||||
|
Loading…
Reference in New Issue
Block a user