Skip to content

Commit

Permalink
fix fee getter
Browse files Browse the repository at this point in the history
  • Loading branch information
lisicky committed Nov 14, 2024
1 parent 6c25e5e commit e832b5e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion rust/src/builders/tx_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2307,7 +2307,6 @@ impl TransactionBuilder {
fn build_and_size(&self) -> Result<(TransactionBody, usize), JsError> {
let fee = self
.get_fee_if_set()
.or(self.get_fee_if_set())
.ok_or_else(|| JsError::from_str("Fee not specified"))?;

let built = TransactionBody {
Expand Down

0 comments on commit e832b5e

Please sign in to comment.