Skip to content

Commit

Permalink
Merge pull request #139 from input-output-hk/adjust_payload_data
Browse files Browse the repository at this point in the history
Fix compilation issue after changes in chain-libs
  • Loading branch information
eugene-babichenko authored Feb 15, 2021
2 parents 456bdff + 2b01e5c commit ef877f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion wallet/src/transaction/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ impl<'settings, P: Payload> TransactionBuilder<'settings, P> {
#[inline]
pub fn estimate_fee_with(&self, extra_inputs: u8, extra_outputs: u8) -> Value {
self.settings.parameters.fees.calculate(
Payload::to_certificate_slice(self.payload.payload_data().borrow()),
self.payload
.payload_data()
.borrow()
.into_certificate_slice(),
self.inputs.len() as u8 + extra_inputs,
self.outputs.len() as u8 + extra_outputs,
)
Expand Down

0 comments on commit ef877f6

Please sign in to comment.