Fix comment about deprecated method (#590)

This commit is contained in:
Quentin Le Sceller 2021-03-05 13:29:33 -05:00 committed by GitHub
parent 563b456e47
commit 594f4cc8ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -494,7 +494,7 @@ pub fn run_doctest_foreign(
.unwrap() .unwrap()
}; };
println!("INIT INVOICE SLATE"); println!("INIT INVOICE SLATE");
// Spit out slate for input to finalize_invoice_tx // Spit out slate for input to finalize_tx
println!("{}", serde_json::to_string_pretty(&slate).unwrap()); println!("{}", serde_json::to_string_pretty(&slate).unwrap());
} }

View file

@ -718,7 +718,7 @@ where
/// The slate created by this function will contain the amount, an output for the amount, /// The slate created by this function will contain the amount, an output for the amount,
/// as well as round 1 of singature creation complete. The slate should then be send /// as well as round 1 of singature creation complete. The slate should then be send
/// to the payer, who should add their inputs and signature data and return the slate /// to the payer, who should add their inputs and signature data and return the slate
/// via the [Foreign API's `finalize_invoice_tx`](struct.Foreign.html#method.finalize_invoice_tx) method. /// via the [Foreign API's `finalize_tx`](struct.Foreign.html#method.finalize_tx) method.
/// ///
/// # Arguments /// # Arguments
/// * `keychain_mask` - Wallet secret mask to XOR against the stored wallet seed before using, if /// * `keychain_mask` - Wallet secret mask to XOR against the stored wallet seed before using, if