File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ pub struct OracleConfig {
4545 #[ serde( skip) ]
4646 oracle_secret_key : Option < SecretKey > ,
4747 oracle_secret : Option < String > ,
48- mnemonic : Option < String > ,
48+ oracle_mnemonic : Option < String > ,
4949 change_address : Option < NetworkAddress > ,
5050 pub data_point_source_custom_script : Option < String > ,
5151 pub explorer_url : Option < Url > ,
@@ -128,7 +128,7 @@ impl OracleConfig {
128128 }
129129
130130 // Try config's mnemonic
131- if let Some ( mnemonic) = & self . mnemonic {
131+ if let Some ( mnemonic) = & self . oracle_mnemonic {
132132 if let Ok ( secret_key) = self . derive_secret_from_mnemonic ( mnemonic) {
133133 self . oracle_secret_key = Some ( secret_key) ;
134134 return Ok ( ( ) ) ;
@@ -250,7 +250,7 @@ impl Default for OracleConfig {
250250 oracle_address : None ,
251251 oracle_secret : None ,
252252 oracle_secret_key : None ,
253- mnemonic : None ,
253+ oracle_mnemonic : None ,
254254 oracle_network : network. clone ( ) ,
255255 network_prefix : Some ( network_prefix) ,
256256 change_address : None ,
You can’t perform that action at this time.
0 commit comments