@@ -1214,20 +1214,20 @@ mod test {
1214
1214
1215
1215
let client = RawClient :: new ( get_test_server ( ) , None ) . unwrap ( ) ;
1216
1216
1217
- // Mt.Gox hack address
1218
- let addr = bitcoin:: Address :: from_str ( "1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF " ) . unwrap ( ) ;
1217
+ // Peter todd's sha256 bounty address https://bitcointalk.org/index.php?topic=293382.0
1218
+ let addr = bitcoin:: Address :: from_str ( "35Snmmy3uhaer2gTboc81ayCip4m9DT4ko " ) . unwrap ( ) ;
1219
1219
let resp = client
1220
1220
. script_list_unspent ( & addr. payload . script_pubkey ( ) )
1221
1221
. unwrap ( ) ;
1222
1222
1223
- assert ! ( resp. len( ) >= 329 ) ;
1224
- let txid = "e67a0550848b7932d7796aeea16ab0e48a5cfe81c4e8cca2c5b03e0416850114 " ;
1223
+ assert ! ( resp. len( ) >= 9 ) ;
1224
+ let txid = "397f12ee15f8a3d2ab25c0f6bb7d3c64d2038ca056af10dd8251b98ae0f076b0 " ;
1225
1225
let txid = Txid :: from_str ( txid) . unwrap ( ) ;
1226
1226
let txs: Vec < _ > = resp. iter ( ) . filter ( |e| e. tx_hash == txid) . collect ( ) ;
1227
1227
assert_eq ! ( txs. len( ) , 1 ) ;
1228
- assert_eq ! ( txs[ 0 ] . value, 7995600000000 ) ;
1229
- assert_eq ! ( txs[ 0 ] . height, 111194 ) ;
1230
- assert_eq ! ( txs[ 0 ] . tx_pos, 0 ) ;
1228
+ assert_eq ! ( txs[ 0 ] . value, 10000000 ) ;
1229
+ assert_eq ! ( txs[ 0 ] . height, 257674 ) ;
1230
+ assert_eq ! ( txs[ 0 ] . tx_pos, 1 ) ;
1231
1231
}
1232
1232
1233
1233
#[ test]
@@ -1236,8 +1236,8 @@ mod test {
1236
1236
1237
1237
let client = RawClient :: new ( get_test_server ( ) , None ) . unwrap ( ) ;
1238
1238
1239
- // Mt.Gox hack address
1240
- let script_1 = bitcoin:: Address :: from_str ( "1FeexV6bAHb8ybZjqQMjJrcCrHGW9sb6uF " )
1239
+ // Peter todd's sha256 bounty address https://bitcointalk.org/index.php?topic=293382.0
1240
+ let script_1 = bitcoin:: Address :: from_str ( "35Snmmy3uhaer2gTboc81ayCip4m9DT4ko " )
1241
1241
. unwrap ( )
1242
1242
. payload
1243
1243
. script_pubkey ( ) ;
@@ -1246,7 +1246,7 @@ mod test {
1246
1246
. batch_script_list_unspent ( vec ! [ script_1. as_script( ) ] )
1247
1247
. unwrap ( ) ;
1248
1248
assert_eq ! ( resp. len( ) , 1 ) ;
1249
- assert ! ( resp[ 0 ] . len( ) >= 329 ) ;
1249
+ assert ! ( resp[ 0 ] . len( ) >= 9 ) ;
1250
1250
}
1251
1251
1252
1252
#[ test]
0 commit comments