checkNoMixedInputScripts method

  1. @override
Future<MaybeInputsSeen> checkNoMixedInputScripts()

Verify the original transaction did not have mixed input types Call this after checking downstream.

Note: mixed spends do not necessarily indicate distinct wallet fingerprints. This check is intended to prevent some types of wallet fingerprinting.

Implementation

@override
Future<MaybeInputsSeen> checkNoMixedInputScripts() async {
  try {
    final res = await super.checkNoMixedInputScripts();
    return MaybeInputsSeen._(field0: res.field0);
  } on error.PayjoinError catch (e) {
    throw mapPayjoinError(e);
  }
}