Skip to content

Commit

Permalink
Remove method from grin-wallet.yml and keybase.rs from adapters (#658)
Browse files Browse the repository at this point in the history
* Remove method from grin-wallet.yml and keybase.rs from adapters

* Remove keybase_notify_ttl from config

* Remove keybase_notify_ttl from config

* Fix tests

Co-authored-by: rstetsurin <[email protected]>
  • Loading branch information
s7500 and rstetsurin authored Jul 26, 2022
1 parent a3687c6 commit 67f0e2b
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 505 deletions.
3 changes: 1 addition & 2 deletions api/src/owner_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1164,8 +1164,7 @@ pub trait OwnerRpc {
"no_commit_cache": null,
"tls_certificate_file": null,
"tls_certificate_key": null,
"dark_background_color_scheme": null,
"keybase_notify_ttl": null
"dark_background_color_scheme": null
},
"logging_config": {
"log_to_stdout": false,
Expand Down
10 changes: 0 additions & 10 deletions config/src/comments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,16 +109,6 @@ fn comments() -> HashMap<String, String> {
"dark_background_color_scheme".to_string(),
"
#Whether to use the black background color scheme for command line
"
.to_string(),
);
retval.insert(
"keybase_notify_ttl".to_string(),
"
#The exploding lifetime for keybase notification on coins received.
#Unit: Minute. Default value 1440 minutes for one day.
#Refer to https://keybase.io/blog/keybase-exploding-messages for detail.
#To disable this notification, set it as 0.
"
.to_string(),
);
Expand Down
3 changes: 0 additions & 3 deletions config/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ pub struct WalletConfig {
/// Whether to use the black background color scheme for command line
/// if enabled, wallet command output color will be suitable for black background terminal
pub dark_background_color_scheme: Option<bool>,
/// The exploding lifetime (minutes) for keybase notification on coins received
pub keybase_notify_ttl: Option<u16>,
/// Scaling factor from transaction weight to transaction fee
/// should match accept_fee_base parameter in grin-server
pub accept_fee_base: Option<u64>,
Expand All @@ -73,7 +71,6 @@ impl Default for WalletConfig {
tls_certificate_file: None,
tls_certificate_key: None,
dark_background_color_scheme: Some(true),
keybase_notify_ttl: Some(1440),
accept_fee_base: None,
}
}
Expand Down
Loading

0 comments on commit 67f0e2b

Please sign in to comment.