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 30, 2024
1 parent 805d7b0 commit 5194014
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion rpcserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,12 @@ 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: fn.Some(*feeRate),
},
)
if err != nil {
return nil, fmt.Errorf("unable to finalize batch: %w", err)
}
Expand Down

0 comments on commit 5194014

Please sign in to comment.