utxonursery: properly return dropped error
This commit is contained in:
1 file changed
+3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user