Skip to content

Commit 4c22fd7

Browse files
committed
return correct base fee from 1559 helpers
1 parent 7afe34b commit 4c22fd7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

solana/programs/base_relayer/src/internal/eip_1559.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ impl Eip1559 {
7272
self.window_start_time +=
7373
(expired_windows_count * self.config.window_duration_seconds) as i64;
7474

75-
current_base_fee
75+
self.current_base_fee
7676
}
7777

7878
/// Add gas usage to current window

solana/programs/bridge/src/common/state/bridge.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ impl Eip1559 {
115115
self.window_start_time +=
116116
(expired_windows_count * self.config.window_duration_seconds) as i64;
117117

118-
current_base_fee
118+
self.current_base_fee
119119
}
120120

121121
/// Add gas usage to current window

0 commit comments

Comments
 (0)