Skip to content

Commit

Permalink
refactor: remove unnecessary gas_price * 2
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel-rufi committed Oct 29, 2024
1 parent 136d05f commit c9cf125
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/iota-indexer/tests/rpc-tests/governance_api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ fn test_timelocked_staking() {
let context = &cluster.wallet;
let gas_price = context.get_reference_gas_price().await.unwrap();

let tx_builder = TestTransactionBuilder::new(sender, gas, gas_price * 2);
let tx_builder = TestTransactionBuilder::new(sender, gas, gas_price);
let txn = to_sender_signed_transaction(tx_builder.programmable(pt).build(), &keypair);

let res = context.execute_transaction_must_succeed(txn).await;
Expand Down

0 comments on commit c9cf125

Please sign in to comment.