Skip to content

Commit

Permalink
fixup! universe+tapgarden: support batch proof insertion on mint
Browse files Browse the repository at this point in the history
  • Loading branch information
guggero committed Aug 18, 2023
1 parent 80e4b78 commit e9d156c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tapgarden/caretaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -964,6 +964,7 @@ func (b *BatchCaretaker) stateStep(currentState BatchState) (BatchState, error)
var (
batchSize = 200
numItems int
uni = b.cfg.Universe
)
err = fn.CollectBatch(
ctx, universeItems, batchSize,
Expand All @@ -976,7 +977,7 @@ func (b *BatchCaretaker) stateStep(currentState BatchState) (BatchState, error)
"universe", len(batch),
numItems, len(committedAssets))

err := b.cfg.Universe.RegisterNewIssuanceBatch(
err := uni.RegisterNewIssuanceBatch(
ctx, batch,
)
if err != nil {
Expand Down

0 comments on commit e9d156c

Please sign in to comment.