Add blindbit config option
This commit is contained in:
parent
6ab48f0b19
commit
fbabe71e76
@ -14,6 +14,7 @@ pub struct Config {
|
||||
pub wallet_name: String,
|
||||
pub network: Network,
|
||||
pub electrum_url: String,
|
||||
pub blindbit_url: String,
|
||||
pub zmq_url: String,
|
||||
pub data_dir: String,
|
||||
}
|
||||
@ -67,6 +68,10 @@ impl Config {
|
||||
.remove("electrum_url")
|
||||
.ok_or(Error::msg("No \"electrum_url\""))?
|
||||
.to_owned(),
|
||||
blindbit_url: file_content
|
||||
.remove("blindbit_url")
|
||||
.ok_or(Error::msg("No \"blindbit_url\""))?
|
||||
.to_owned(),
|
||||
zmq_url: file_content
|
||||
.remove("zmq_url")
|
||||
.ok_or(Error::msg("No \"zmq_url\""))?
|
||||
|
Loading…
x
Reference in New Issue
Block a user