Skip to content

Commit 12cc5c6

Browse files
authored
Merge pull request #2186 from vvp/fix/tx_execute_verify_bench
Fix the panic in Transaction::execute(transfer_public)- benchmark
2 parents 052cbd9 + ff9025c commit 12cc5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ledger/benches/transaction.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ fn execute(c: &mut Criterion) {
104104
// Retrieve the execution ID.
105105
let execution_id = execute_authorization.to_execution_id().unwrap();
106106
// Authorize the fee.
107-
let fee_authorization = vm.authorize_fee_public(&private_key, 100000, 1000, execution_id, rng).unwrap();
107+
let fee_authorization = vm.authorize_fee_public(&private_key, 300000, 1000, execution_id, rng).unwrap();
108108

109109
c.bench_function("Transaction::Execute(transfer_public)", |b| {
110110
b.iter(|| {

0 commit comments

Comments
 (0)