Skip to content

Commit 026d404

Browse files
committed
rpc: update FInalizeBatch call, use empty taptree
1 parent dc692d5 commit 026d404

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

rpcserver.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,10 @@ func (r *rpcServer) FinalizeBatch(_ context.Context,
521521
return nil, err
522522
}
523523

524-
batch, err := r.cfg.AssetMinter.FinalizeBatch(feeRate)
524+
// TODO(jhb): Add tapscript tree as an arg in FinalizeBatchRequest.
525+
batch, err := r.cfg.AssetMinter.FinalizeBatch(
526+
&tapgarden.FinalizeParams{FeeRate: feeRate},
527+
)
525528
if err != nil {
526529
return nil, fmt.Errorf("unable to finalize batch: %w", err)
527530
}

0 commit comments

Comments
 (0)