sweep: change MaxInputsPerTx from int to uint32

This commit is contained in:
yyforyongyu
2024-03-20 05:56:56 +08:00
parent 521b1fc34a
commit d0a8f27d84
5 changed files with 9 additions and 9 deletions

View File

@@ -335,7 +335,7 @@ type UtxoSweeperConfig struct {
// MaxInputsPerTx specifies the default maximum number of inputs allowed
// in a single sweep tx. If more need to be swept, multiple txes are
// created and published.
MaxInputsPerTx int
MaxInputsPerTx uint32
// MaxSweepAttempts specifies the maximum number of times an input is
// included in a publish attempt before giving up and returning an error