Extract consts module (#282)
Extracts miscellaneous constants that were floating around in the toplevel into their own module.
This commit is contained in:
committed by
GitHub
parent
5f418bbd1d
commit
563f6f9ccc
+1
-1
@@ -36,7 +36,7 @@ use zeroize::Zeroizing;
|
||||
use crate::{serialization::*, transaction::Transaction, Buffer, Error, Result};
|
||||
|
||||
#[cfg(feature = "untested")]
|
||||
use crate::{CB_OBJ_MAX, CB_OBJ_TAG_MAX};
|
||||
use crate::consts::{CB_OBJ_MAX, CB_OBJ_TAG_MAX};
|
||||
|
||||
#[cfg(feature = "untested")]
|
||||
use std::iter;
|
||||
|
||||
Reference in New Issue
Block a user