Skip to content

Commit

Permalink
chore: Fix for rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWaWaR committed Aug 10, 2019
1 parent d0b97b1 commit 7a6fb0b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions script/src/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ mod tests {
.build();
let dep_cell = CellMetaBuilder::from_cell_output(output, data)
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point.cell.as_ref().unwrap().clone())
.out_point(dep_out_point.clone())
.build();

let script = Script::new(args, code_hash, ScriptHashType::Data);
Expand Down Expand Up @@ -654,7 +654,7 @@ mod tests {
.build();
let dep_cell = CellMetaBuilder::from_cell_output(output, data)
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point.cell.clone().unwrap())
.out_point(dep_out_point.clone())
.build();

let script = Script::new(args, code_hash, ScriptHashType::Data);
Expand Down Expand Up @@ -719,7 +719,7 @@ mod tests {
let type_hash: H256 = output.type_.as_ref().unwrap().hash();
let dep_cell = CellMetaBuilder::from_cell_output(output, data)
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point.cell.as_ref().unwrap().clone())
.out_point(dep_out_point.clone())
.build();

let script = Script::new(args, type_hash, ScriptHashType::Type);
Expand Down Expand Up @@ -781,7 +781,7 @@ mod tests {
let type_hash: H256 = output.type_.as_ref().unwrap().hash();
let dep_cell = CellMetaBuilder::from_cell_output(output, data.clone())
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point.cell.as_ref().unwrap().clone())
.out_point(dep_out_point.clone())
.build();

let dep_out_point2 = OutPoint::new(h256!("0x1234"), 8);
Expand All @@ -796,7 +796,7 @@ mod tests {
.build();
let dep_cell2 = CellMetaBuilder::from_cell_output(output2, data)
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point2.cell.as_ref().unwrap().clone())
.out_point(dep_out_point2.clone())
.build();

let script = Script::new(args, type_hash, ScriptHashType::Type);
Expand Down Expand Up @@ -872,7 +872,7 @@ mod tests {
.build();
let dep_cell = CellMetaBuilder::from_cell_output(output.to_owned(), data)
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point.cell.as_ref().unwrap().clone())
.out_point(dep_out_point.clone())
.build();

let script = Script::new(args, code_hash, ScriptHashType::Data);
Expand Down Expand Up @@ -1066,7 +1066,7 @@ mod tests {
.build();
CellMetaBuilder::from_cell_output(output.to_owned(), data)
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point.cell.as_ref().unwrap().clone())
.out_point(dep_out_point.clone())
.build()
};

Expand Down Expand Up @@ -1192,7 +1192,7 @@ mod tests {
.build();
let dep_cell = CellMetaBuilder::from_cell_output(output, data)
.transaction_info(TransactionInfo::new(1, 0, H256::zero(), 1))
.out_point(dep_out_point.cell.as_ref().unwrap().clone())
.out_point(dep_out_point.clone())
.build();

let transaction = TransactionBuilder::default()
Expand Down

0 comments on commit 7a6fb0b

Please sign in to comment.