Skip to content

Commit 4bdff9a

Browse files
committed
Fix tests
1 parent 379cb05 commit 4bdff9a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/normal_cases.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ fn test_sighash_all_unlock(hash_type: ScriptHashType) {
9999
// prepare cells
100100
let input_out_point = context.create_cell(
101101
CellOutput::new_builder()
102-
.capacity(1000u64.pack())
102+
.capacity(1000)
103103
.lock(lock_script.clone())
104104
.build(),
105105
Bytes::new(),
@@ -110,11 +110,11 @@ fn test_sighash_all_unlock(hash_type: ScriptHashType) {
110110

111111
let outputs = vec![
112112
CellOutput::new_builder()
113-
.capacity(500u64.pack())
113+
.capacity(500)
114114
.lock(lock_script.clone())
115115
.build(),
116116
CellOutput::new_builder()
117-
.capacity(500u64.pack())
117+
.capacity(500)
118118
.lock(lock_script)
119119
.build(),
120120
];

0 commit comments

Comments
 (0)