File tree Expand file tree Collapse file tree
crates/app-core/src/handlers/sign_tx Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -371,18 +371,16 @@ mod tests {
371371 fn sample_test ( ) {
372372 let mut collector = TxSummaryCollector :: new ( ) ;
373373
374- collector
375- . process_input ( & TxInputWithAdditionalInfo :: Utxo (
376- mlcp:: UtxoOutPoint :: new (
377- mlcp:: OutPointSourceId :: Transaction ( mlcp:: Id :: new ( mlcp:: H256 :: zero ( ) ) ) ,
378- 0 ,
379- ) ,
380- AdditionalUtxoInfo :: Utxo ( mlcp:: TxOutput :: Transfer (
381- mlcp:: OutputValue :: Coin ( mlcp:: Amount :: from_atoms ( 123 ) ) ,
382- mlcp:: Destination :: AnyoneCanSpend ,
383- ) ) ,
384- ) )
385- . unwrap ( ) ;
374+ collector. process_input ( & TxInputWithAdditionalInfo :: Utxo (
375+ mlcp:: UtxoOutPoint :: new (
376+ mlcp:: OutPointSourceId :: Transaction ( mlcp:: Id :: new ( mlcp:: H256 :: zero ( ) ) ) ,
377+ 0 ,
378+ ) ,
379+ AdditionalUtxoInfo :: Utxo ( mlcp:: TxOutput :: Transfer (
380+ mlcp:: OutputValue :: Coin ( mlcp:: Amount :: from_atoms ( 123 ) ) ,
381+ mlcp:: Destination :: AnyoneCanSpend ,
382+ ) ) ,
383+ ) ) ;
386384
387385 collector
388386 . process_output ( & mlcp:: TxOutput :: Transfer (
You can’t perform that action at this time.
0 commit comments