expirePreviousInactivePairings method

  1. @override
Future<void> expirePreviousInactivePairings()
override

Used to expire and delete any inactive pairing

Implementation

@override
Future<void> expirePreviousInactivePairings() async {
  for (var pairing in _web3App.pairings.getAll()) {
    if (!pairing.active) {
      await _web3App.core.expirer.expire(pairing.topic);
    }
  }
}