Skip to content

Commit 6b1c016

Browse files
committed
quick simplification
1 parent 7b4feb4 commit 6b1c016

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

target_chains/fuel/contracts/scripts/deploy_pyth.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ async fn main() {
6161
println!("gsi: {:?}", gsi);
6262

6363
let update_data = update_data_bytes(None).await.unwrap();
64-
65-
let update_fee_return = pyth.update_fee(&update_data).await.unwrap();
66-
67-
let fee = update_fee_return.value;
64+
let fee = pyth.update_fee(&update_data).await.unwrap().value;
6865

6966
//print fee
7067
println!("fee: {:?}", fee);

0 commit comments

Comments
 (0)