Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wallet clear short term output #6151

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions base_layer/wallet/src/output_manager_service/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ where
let mut base_node_service_event_stream = self.base_node_service.get_event_stream();

debug!(target: LOG_TARGET, "Output Manager Service started");
// Outputs marked as shorttermencumbered are not yet stored as transactions in the TMS, so lets clear them
self.resources.db.clear_short_term_encumberances()?;
hansieodendaal marked this conversation as resolved.
Show resolved Hide resolved
loop {
tokio::select! {
event = base_node_service_event_stream.recv() => {
Expand Down
2 changes: 1 addition & 1 deletion base_layer/wallet_ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6309,7 +6309,7 @@ pub unsafe extern "C" fn wallet_verify_message_signature(
/// # Safety
/// None
#[no_mangle]
pub unsafe extern "C" fn wallet_add_base_node_peer(
pub unsafe extern "C" fn wallet_set_base_node_peer(
wallet: *mut TariWallet,
public_key: *mut TariPublicKey,
address: *const c_char,
Expand Down
Loading