Remove hard coded sync progress value

This commit is contained in:
Steve Myers 2022-03-02 14:06:40 -08:00
parent 1bbd85378a
commit 939a88214a
No known key found for this signature in database
GPG Key ID: 8105A46B22C2D051

View File

@ -259,7 +259,6 @@ impl Wallet {
progress_update: Box<dyn BdkProgress>, progress_update: Box<dyn BdkProgress>,
max_address_param: Option<u32>, max_address_param: Option<u32>,
) -> Result<(), BdkError> { ) -> Result<(), BdkError> {
progress_update.update(21.0, Some("message".to_string()));
self.get_wallet() self.get_wallet()
.sync(BdkProgressHolder { progress_update }, max_address_param) .sync(BdkProgressHolder { progress_update }, max_address_param)
} }