Skip to content

Commit b00301d

Browse files
Update threshold parameter to use input from threshold controller (#293)
1 parent 54f1373 commit b00301d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/wallet/roast_group/tabs/request_dkg_tab.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class RequestDkgTab extends StatelessWidget {
3434
NewDkgDetails(
3535
name: _nameController.text,
3636
description: _descriptionController.text,
37-
threshold: 2,
37+
threshold: int.parse(_thresholdController.text),
3838
expiry: Expiry(const Duration(days: 1)),
3939
),
4040
);

0 commit comments

Comments
 (0)