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
@@ -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.