Skip to content

Commit

Permalink
rpc: update FInalizeBatch call, use empty taptree
Browse files Browse the repository at this point in the history
  • Loading branch information
jharveyb committed Jan 12, 2024
1 parent dc692d5 commit 026d404
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,10 @@ func (r *rpcServer) FinalizeBatch(_ context.Context,
return nil, err
}

batch, err := r.cfg.AssetMinter.FinalizeBatch(feeRate)
// TODO(jhb): Add tapscript tree as an arg in FinalizeBatchRequest.
batch, err := r.cfg.AssetMinter.FinalizeBatch(
&tapgarden.FinalizeParams{FeeRate: feeRate},
)
if err != nil {
return nil, fmt.Errorf("unable to finalize batch: %w", err)
}
Expand Down

0 comments on commit 026d404

Please sign in to comment.