mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
fix issue with modifying fixed-length list
This commit is contained in:
parent
09bbdb5368
commit
10233550b1
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ class _FrostAttemptSignConfigViewState
|
|||
|
||||
myName = frostInfo.myName;
|
||||
threshold = frostInfo.threshold;
|
||||
participantsWithoutMe = frostInfo.participants;
|
||||
participantsWithoutMe = List.from(frostInfo.participants); // Copy so it isn't fixed-length.
|
||||
myIndex = participantsWithoutMe.indexOf(frostInfo.myName);
|
||||
myPreprocess = ref.read(pFrostAttemptSignData.state).state!.preprocess;
|
||||
|
||||
|
|
Loading…
Reference in a new issue