@@ -202,7 +202,7 @@ mod high_cases {
202202
203203 //6. Create inputs and outputs
204204 let addr_1 = addresses. get ( 0 ) . unwrap ( ) ;
205- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
205+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
206206 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
207207
208208 let outputs = vec ! [ UTXOOutput {
@@ -260,7 +260,7 @@ mod high_cases {
260260 let utxos = payments_utils:: get_utxos_with_balance ( addresses. clone ( ) , wallet_handle, pool_handle, SUBMITTER_DID ) ;
261261
262262 let addr_1 = addresses. get ( 0 ) . unwrap ( ) ;
263- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
263+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
264264 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
265265
266266 let outputs = vec ! [ UTXOOutput {
@@ -315,7 +315,7 @@ mod high_cases {
315315
316316 //7. Create inputs and outputs
317317 let addr_1 = addresses_1. get ( 0 ) . unwrap ( ) ;
318- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
318+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
319319 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
320320
321321 let outputs = vec ! [ UTXOOutput {
@@ -357,7 +357,7 @@ mod high_cases {
357357
358358 //3. Prepare inputs and outputs for payment txn
359359 let addr_1 = addresses. get ( 0 ) . unwrap ( ) ;
360- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
360+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
361361 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
362362
363363 let outputs = vec ! [ UTXOOutput {
@@ -380,7 +380,7 @@ mod high_cases {
380380 let utxos: Vec < UTXOInfo > = serde_json:: from_str ( payment_resp_parsed. as_str ( ) ) . unwrap ( ) ;
381381 assert_eq ! ( utxos. len( ) , 2 ) ;
382382
383- let utxos: HashMap < i32 , String > = utxos. into_iter ( ) . map ( |info| ( info. amount , info. input ) ) . collect ( ) ;
383+ let utxos: HashMap < i32 , String > = utxos. into_iter ( ) . map ( |info| ( info. amount , info. txo ) ) . collect ( ) ;
384384 let payment_utxo = utxos. get ( & 19 ) . unwrap ( ) ;
385385 let change_utxo = utxos. get ( & 1 ) . unwrap ( ) ;
386386
@@ -423,7 +423,7 @@ mod high_cases {
423423 let utxos = payments_utils:: get_utxos_with_balance ( addresses. clone ( ) , wallet_handle, pool_handle, SUBMITTER_DID ) ;
424424
425425 let addr_1 = addresses. get ( 0 ) . unwrap ( ) ;
426- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
426+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
427427 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
428428
429429 let outputs = vec ! [ UTXOOutput {
@@ -469,7 +469,7 @@ mod high_cases {
469469
470470 //3. Prepare inputs and outputs for payment txn
471471 let addr_1 = addresses. get ( 0 ) . unwrap ( ) ;
472- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
472+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
473473 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
474474
475475 let outputs = vec ! [ UTXOOutput {
@@ -563,7 +563,7 @@ mod medium_cases {
563563 let utxos = payments_utils:: get_utxos_with_balance ( addresses. clone ( ) , wallet_handle, pool_handle, SUBMITTER_DID ) ;
564564
565565 let addr_1 = addresses. get ( 0 ) . unwrap ( ) ;
566- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
566+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
567567 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
568568
569569 let outputs = vec ! [ UTXOOutput {
@@ -605,7 +605,7 @@ mod medium_cases {
605605 let utxos = payments_utils:: get_utxos_with_balance ( addresses. clone ( ) , wallet_handle, pool_handle, SUBMITTER_DID ) ;
606606
607607 let addr_1 = addresses. get ( 0 ) . unwrap ( ) ;
608- let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. input . clone ( ) ) . collect ( ) ;
608+ let utxos_1: Vec < String > = utxos. get ( addr_1. as_str ( ) ) . unwrap ( ) . into_iter ( ) . map ( |info| info. txo . clone ( ) ) . collect ( ) ;
609609 let inputs = serde_json:: to_string ( & utxos_1) . unwrap ( ) ;
610610
611611 let outputs = vec ! [ UTXOOutput {
0 commit comments