nymsphinx: re-exporting NODE_ADDRESS_LENGTH so gateway can use it

This commit is contained in:
Dave Hrycyszyn
2020-04-16 20:57:53 +01:00
parent 99e818952f
commit d7150cfa58
+1 -1
View File
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
use sphinx::constants::NODE_ADDRESS_LENGTH;
pub use sphinx::constants::NODE_ADDRESS_LENGTH;
use sphinx::route::NodeAddressBytes;
use std::convert::{TryFrom, TryInto};
use std::net::{IpAddr, Ipv4Addr, Ipv6Addr, SocketAddr};