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 {
|
return psclBucket.ForEach(func(outputBytes, kidBytes []byte) error {
|
||||||
psclOutput, err := deserializeKidOutput(bytes.NewBuffer(kidBytes))
|
psclOutput, err := deserializeKidOutput(bytes.NewBuffer(kidBytes))
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
|
||||||
outpoint := psclOutput.outPoint
|
outpoint := psclOutput.outPoint
|
||||||
sourceTxid := outpoint.Hash
|
sourceTxid := outpoint.Hash
|
||||||
|
Loading…
Reference in New Issue
Block a user