feat: remove validateIdentity tx and add todo for distance

This commit is contained in:
poka 2023-12-09 22:10:16 +01:00
parent 3458702631
commit 29f18325d8
1 changed files with 6 additions and 2 deletions

View File

@ -1043,9 +1043,13 @@ class SubstrateSdk with ChangeNotifier {
sender, sender,
); );
final tx1 = 'api.tx.cert.addCert($fromIndex, $toIndex)'; final tx1 = 'api.tx.cert.addCert($fromIndex, $toIndex)';
final tx2 = 'api.tx.identity.validateIdentity($toIndex)';
rawParams = '[[$tx1, $tx2]]'; //TODO: add requestDistanceEvaluation tx when available
// final tx2 = 'api.tx.distance.requestDistanceEvaluation($toIndex)';
// final tx2 = 'api.tx.identity.validateIdentity($toIndex)';
rawParams = '[[$tx1]]';
} else { } else {
txInfo = TxInfoData( txInfo = TxInfoData(
'cert', 'cert',