File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed
modules/abstract-utxo/src Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change @@ -531,28 +531,6 @@ export abstract class AbstractUtxoCoin extends BaseCoin {
531531 }
532532
533533 /**
534- <<<<<<< HEAD
535- * @param first
536- * @param second
537- * @returns {Array } All outputs that are in the first array but not in the second
538- */
539- public static outputDifference ( first : Output [ ] , second : Output [ ] ) : Output [ ] {
540- const keyFunc = ( { address, amount } : Output ) : string => `${ address } :${ amount } ` ;
541- const groupedOutputs = _ . groupBy ( first , keyFunc ) ;
542-
543- second . forEach ( ( output ) => {
544- const group = groupedOutputs [ keyFunc ( output ) ] ;
545- if ( group ) {
546- group . pop ( ) ;
547- }
548- } ) ;
549-
550- return _ . flatten ( _ . values ( groupedOutputs ) ) ;
551- }
552-
553- /**
554- =======
555- >>>>>>> 8cc76f6e8 (refactor(abstract-utxo): factor fixedScript parseTransaction)
556534 * Determine an address' type based on its witness and redeem script presence
557535 * @param addressDetails
558536 */
You can’t perform that action at this time.
0 commit comments