sweep: change MaxInputsPerTx from int to uint32

This commit is contained in:
yyforyongyu committed 2024-04-19 21:33:26 +08:00
1 parent 521b1fc34a
commit d0a8f27d84
5 files changed
+9 -9

No files matched your search

+1 -1
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