@@ -1143,7 +1143,7 @@ mod tests {
1143
1143
) -> Iter < ' elem , ' txin > {
1144
1144
Iter {
1145
1145
verify_sig : verify_fn,
1146
- stack : stack ,
1146
+ stack,
1147
1147
public_key : None ,
1148
1148
state : vec ! [ NodeEvaluationState {
1149
1149
node: & ms,
@@ -1241,7 +1241,7 @@ mod tests {
1241
1241
sah256_satisfied. unwrap( ) ,
1242
1242
vec![ SatisfiedConstraint :: HashLock {
1243
1243
hash: HashLockType :: Sha256 ( sha256_hash) ,
1244
- preimage: preimage ,
1244
+ preimage,
1245
1245
} ]
1246
1246
) ;
1247
1247
@@ -1254,7 +1254,7 @@ mod tests {
1254
1254
sha256d_satisfied. unwrap( ) ,
1255
1255
vec![ SatisfiedConstraint :: HashLock {
1256
1256
hash: HashLockType :: Hash256 ( hash256_hash) ,
1257
- preimage: preimage ,
1257
+ preimage,
1258
1258
} ]
1259
1259
) ;
1260
1260
@@ -1267,7 +1267,7 @@ mod tests {
1267
1267
hash160_satisfied. unwrap( ) ,
1268
1268
vec![ SatisfiedConstraint :: HashLock {
1269
1269
hash: HashLockType :: Hash160 ( hash160_hash) ,
1270
- preimage: preimage ,
1270
+ preimage,
1271
1271
} ]
1272
1272
) ;
1273
1273
@@ -1280,7 +1280,7 @@ mod tests {
1280
1280
ripemd160_satisfied. unwrap( ) ,
1281
1281
vec![ SatisfiedConstraint :: HashLock {
1282
1282
hash: HashLockType :: Ripemd160 ( ripemd160_hash) ,
1283
- preimage: preimage
1283
+ preimage,
1284
1284
} ]
1285
1285
) ;
1286
1286
@@ -1330,7 +1330,7 @@ mod tests {
1330
1330
} ,
1331
1331
SatisfiedConstraint :: HashLock {
1332
1332
hash: HashLockType :: Sha256 ( sha256_hash) ,
1333
- preimage: preimage ,
1333
+ preimage,
1334
1334
}
1335
1335
]
1336
1336
) ;
@@ -1356,7 +1356,7 @@ mod tests {
1356
1356
} ,
1357
1357
SatisfiedConstraint :: HashLock {
1358
1358
hash: HashLockType :: Sha256 ( sha256_hash) ,
1359
- preimage: preimage ,
1359
+ preimage,
1360
1360
}
1361
1361
]
1362
1362
) ;
@@ -1397,7 +1397,7 @@ mod tests {
1397
1397
or_b_satisfied. unwrap( ) ,
1398
1398
vec![ SatisfiedConstraint :: HashLock {
1399
1399
hash: HashLockType :: Sha256 ( sha256_hash) ,
1400
- preimage: preimage ,
1400
+ preimage,
1401
1401
} ]
1402
1402
) ;
1403
1403
0 commit comments