File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -822,14 +822,14 @@ mod tests {
822822
823823 fn get_test_transactions ( ) -> ( Transaction , Transaction ) {
824824 let block_data = read_block_data ( ) ;
825- let tx1 = Block :: new ( & block_data[ 1 ] )
825+ let tx1 = Block :: new ( & block_data[ 204 ] )
826826 . unwrap ( )
827- . transaction ( 0 )
827+ . transaction ( 1 )
828828 . unwrap ( )
829829 . to_owned ( ) ;
830- let tx2 = Block :: new ( & block_data[ 2 ] )
830+ let tx2 = Block :: new ( & block_data[ 205 ] )
831831 . unwrap ( )
832- . transaction ( 0 )
832+ . transaction ( 1 )
833833 . unwrap ( )
834834 . to_owned ( ) ;
835835 ( tx1, tx2)
@@ -1184,7 +1184,7 @@ mod tests {
11841184 let outpoint = txin. outpoint ( ) ;
11851185
11861186 let index = outpoint. index ( ) ;
1187- assert_eq ! ( index, u32 :: MAX ) ;
1187+ assert_eq ! ( index, 0 ) ;
11881188 }
11891189
11901190 #[ test]
@@ -1366,7 +1366,7 @@ mod tests {
13661366
13671367 assert_eq ! (
13681368 display,
1369- "f3ac0618ad042336fbec1f88a4e965481b46cd3381a807591c78c75fdbae7d67 "
1369+ "9beec3326c1efee76b743e667f9043941552c0803d12b94406e0e037c899e294 "
13701370 ) ;
13711371 }
13721372
@@ -1379,7 +1379,7 @@ mod tests {
13791379
13801380 assert_eq ! (
13811381 display,
1382- "f3ac0618ad042336fbec1f88a4e965481b46cd3381a807591c78c75fdbae7d67 "
1382+ "9beec3326c1efee76b743e667f9043941552c0803d12b94406e0e037c899e294 "
13831383 ) ;
13841384 }
13851385}
You can’t perform that action at this time.
0 commit comments