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

@@ -19,7 +19,7 @@ var (
// DefaultMaxInputsPerTx 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.
DefaultMaxInputsPerTx = 100
DefaultMaxInputsPerTx = uint32(100)
// ErrLocktimeConflict is returned when inputs with different
// transaction nLockTime values are included in the same transaction.