Merge pull request #921 from cypherstack/testing

fix frost send for people who use multisig using a single signer
This commit is contained in:
julian-CStack 2024-07-05 13:31:45 -06:00 committed by GitHub
commit 9e8f9087d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -175,7 +175,7 @@ class _FrostSendStep3State extends ConsumerState<FrostSendStep3> {
PrimaryButton( PrimaryButton(
label: "Generate transaction", label: "Generate transaction",
enabled: _userVerifyContinue && enabled: _userVerifyContinue &&
!fieldIsEmptyFlags.reduce((v, e) => v |= e), !fieldIsEmptyFlags.fold(false, (v, e) => v |= e),
onPressed: () async { onPressed: () async {
// collect Share strings // collect Share strings
final sharesCollected = controllers.map((e) => e.text).toList(); final sharesCollected = controllers.map((e) => e.text).toList();