Skip to content

Commit

Permalink
tapdb: catch error on sprout fetching
Browse files Browse the repository at this point in the history
  • Loading branch information
jharveyb committed Sep 17, 2024
1 parent 15582a5 commit 946555d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tapdb/asset_minting.go
Original file line number Diff line number Diff line change
Expand Up @@ -1203,6 +1203,9 @@ func marshalMintingBatch(ctx context.Context, q PendingAssetStore,
batch.RootAssetCommitment, err = fetchAssetSprouts(
ctx, q, dbBatch.RawKey, tapscriptSibling, genesisScript,
)
if err != nil {
return nil, err
}

// Finally, for each asset contained in the root
// commitment above, we'll fetch the meta reveal for
Expand Down

0 comments on commit 946555d

Please sign in to comment.