| LCOV - code coverage report | ||||||||||||||||||||||
                
  | 
            ||||||||||||||||||||||
Line data Source code 1 : import 'package:walletkit_dart/walletkit_dart.dart'; 2 : 3 0 : String findUnusedAddress({ 4 : required Iterable<String> addresses, 5 : required Iterable<UTXOTransaction> txs, 6 : }) { 7 0 : for (final address in addresses) { 8 0 : if (!txs.any( 9 0 : (tx) => tx.outputs.any((output) => output.node.address == address), 10 : )) { 11 : return address; 12 : } 13 : } 14 : 15 0 : throw Exception("No address found"); 16 : }  | 
            
| Generated by: LCOV version 2.0-1 |