Top to bottom pub mod then mod then pub use then use (incl. use crate and use self)

This commit is contained in:
Daniel Karzel 2021-01-21 17:09:53 +11:00
parent 44c4b5dcea
commit 433704e48c
14 changed files with 38 additions and 33 deletions

View file

@ -1,11 +1,13 @@
pub mod wallet;
pub use ::monero::{Network, PrivateKey, PublicKey};
pub use curve25519_dalek::scalar::Scalar;
pub use wallet::Wallet;
use crate::bitcoin;
use ::bitcoin::hashes::core::fmt::Formatter;
pub use ::monero::{Network, PrivateKey, PublicKey};
use anyhow::Result;
use async_trait::async_trait;
pub use curve25519_dalek::scalar::Scalar;
use rand::{CryptoRng, RngCore};
use rust_decimal::{
prelude::{FromPrimitive, ToPrimitive},
@ -17,7 +19,6 @@ use std::{
ops::{Add, Mul, Sub},
str::FromStr,
};
pub use wallet::Wallet;
pub const PICONERO_OFFSET: u64 = 1_000_000_000_000;