Skip to content

Commit

Permalink
fix: invoice transaction pay need update the slate height (mimblewimb…
Browse files Browse the repository at this point in the history
  • Loading branch information
garyyu authored and yeastplume committed May 21, 2019
1 parent 4b2bc5f commit a45f8d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libwallet/src/api_impl/owner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,9 @@ where
None => None,
};

// update slate current height
ret_slate.height = w.w2n_client().get_chain_height()?;

let context = tx::add_inputs_to_slate(
&mut *w,
&mut ret_slate,
Expand Down

0 comments on commit a45f8d3

Please sign in to comment.