Skip to content

Commit bcf371d

Browse files
committed
better doc
1 parent f756d5d commit bcf371d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/lib/store/encointer/sub_stores/encointer_account_store/encointer_account_store.dart

+1
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ abstract class _EncointerAccountStore with Store {
8383
int? ceremonyIndexForNextProofOfAttendance(int currentCeremonyIndex) {
8484
if (verifiedReputations.isNotEmpty) {
8585
try {
86+
// returns the first reputation that hasn't been linked, or has been linked to a non-current cIndex.
8687
return verifiedReputations.entries.firstWhere((e) {
8788
return e.value.reputation.runtimeType == VerifiedUnlinked ||
8889
(e.value.reputation.runtimeType == VerifiedLinked &&

0 commit comments

Comments
 (0)