Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable starting multiple tss processes with the same peer subset #331

Merged
merged 17 commits into from
Jul 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Avoid fee floor being 0
  • Loading branch information
mpetrun5 committed Jul 15, 2024
commit 7e0c36bfa8a5cd8c0e36b7e3578e62910cdc8463
2 changes: 1 addition & 1 deletion chains/btc/executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ func (e *Executor) fee(numOfInputs, numOfOutputs uint64) (uint64, error) {
return 0, err
}

return (numOfInputs*INPUT_SIZE + numOfOutputs*OUTPUT_SIZE) * ((recommendedFee.EconomyFee / FEE_ROUNDING_FACTOR) * FEE_ROUNDING_FACTOR), nil
return (numOfInputs*INPUT_SIZE + numOfOutputs*OUTPUT_SIZE) * ((recommendedFee.EconomyFee/FEE_ROUNDING_FACTOR)*FEE_ROUNDING_FACTOR + FEE_ROUNDING_FACTOR), nil
}

func (e *Executor) sendTx(tx *wire.MsgTx, signatures []taproot.Signature) (*chainhash.Hash, error) {
Expand Down