mirror of
https://github.com/jwinterm/grin-wallet.git
synced 2026-10-21 09:08:32 +02:00
Make updater APIs public (#782)
This commit is contained in:
@@ -94,7 +94,7 @@ where
|
||||
|
||||
ret_slate.tx = Some(Slate::empty_transaction());
|
||||
|
||||
let height = w.last_confirmed_height()?;
|
||||
let height = w.last_confirmed_height_for_parent(&parent_key_id)?;
|
||||
let keychain = w.keychain(keychain_mask)?;
|
||||
|
||||
let context = tx::add_output_to_slate(
|
||||
|
||||
@@ -322,7 +322,7 @@ where
|
||||
|
||||
let parent_key_id = w.parent_key_id();
|
||||
let wallet_info = updater::retrieve_info(w, &parent_key_id, minimum_confirmations)?;
|
||||
let current_height = w.last_confirmed_height()?;
|
||||
let current_height = w.last_confirmed_height_for_parent(&parent_key_id)?;
|
||||
let max_outputs = 500;
|
||||
let change_outputs = 1;
|
||||
let (amount, fee, input_count) = match selection::select_coins_and_fee(
|
||||
|
||||
Reference in New Issue
Block a user