File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -480,6 +480,7 @@ impl From<ScriptVerifyStatus> for btck_ScriptVerifyStatus {
480480 }
481481}
482482
483+ #[ allow( non_upper_case_globals) ]
483484impl From < btck_ScriptVerifyStatus > for ScriptVerifyStatus {
484485 fn from ( value : btck_ScriptVerifyStatus ) -> Self {
485486 match value {
Original file line number Diff line number Diff line change 179179//!
180180//! - Silent Payment Scanning
181181
182- #![ allow( non_upper_case_globals) ]
183-
184182use std:: ffi:: NulError ;
185183use std:: { fmt, panic} ;
186184
Original file line number Diff line number Diff line change @@ -213,6 +213,7 @@ impl From<LogCategory> for btck_LogCategory {
213213 }
214214}
215215
216+ #[ allow( non_upper_case_globals) ]
216217impl From < btck_LogCategory > for LogCategory {
217218 fn from ( value : btck_LogCategory ) -> Self {
218219 match value {
@@ -253,6 +254,7 @@ impl From<LogLevel> for btck_LogLevel {
253254 }
254255}
255256
257+ #[ allow( non_upper_case_globals) ]
256258impl From < btck_LogLevel > for LogLevel {
257259 fn from ( value : btck_LogLevel ) -> Self {
258260 match value {
Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ impl From<SynchronizationState> for btck_SynchronizationState {
3939 }
4040}
4141
42+ #[ allow( non_upper_case_globals) ]
4243impl From < btck_SynchronizationState > for SynchronizationState {
4344 fn from ( value : btck_SynchronizationState ) -> Self {
4445 match value {
@@ -76,6 +77,7 @@ impl From<Warning> for btck_Warning {
7677 }
7778}
7879
80+ #[ allow( non_upper_case_globals) ]
7981impl From < btck_Warning > for Warning {
8082 fn from ( value : btck_Warning ) -> Self {
8183 match value {
@@ -120,6 +122,7 @@ impl From<ValidationMode> for btck_ValidationMode {
120122 }
121123}
122124
125+ #[ allow( non_upper_case_globals) ]
123126impl From < btck_ValidationMode > for ValidationMode {
124127 fn from ( value : btck_ValidationMode ) -> Self {
125128 match value {
@@ -164,6 +167,7 @@ impl From<BlockValidationResult> for btck_BlockValidationResult {
164167 }
165168}
166169
170+ #[ allow( non_upper_case_globals) ]
167171impl From < btck_BlockValidationResult > for BlockValidationResult {
168172 fn from ( value : btck_BlockValidationResult ) -> Self {
169173 match value {
Original file line number Diff line number Diff line change @@ -1020,6 +1020,7 @@ impl From<ChainType> for btck_ChainType {
10201020 }
10211021}
10221022
1023+ #[ allow( non_upper_case_globals) ]
10231024impl From < btck_ChainType > for ChainType {
10241025 fn from ( value : btck_ChainType ) -> Self {
10251026 match value {
You can’t perform that action at this time.
0 commit comments