diff --git a/src/bank.rs b/src/bank.rs index a8ff8a96e5..02ace88447 100644 --- a/src/bank.rs +++ b/src/bank.rs @@ -9,7 +9,7 @@ use chrono::prelude::*; use entry::Entry; use hash::Hash; use mint::Mint; -use plan::{Payment, PaymentPlan, Witness}; +use payment_plan::{Payment, PaymentPlan, Witness}; use rayon::prelude::*; use signature::{KeyPair, PublicKey, Signature}; use std::collections::hash_map::Entry::Occupied; diff --git a/src/bin/fullnode.rs b/src/bin/fullnode.rs index ba172aed86..d0a4461530 100644 --- a/src/bin/fullnode.rs +++ b/src/bin/fullnode.rs @@ -11,7 +11,7 @@ use pnet::datalink; use solana::bank::Bank; use solana::crdt::ReplicatedData; use solana::entry::Entry; -use solana::plan::PaymentPlan; +use solana::payment_plan::PaymentPlan; use solana::server::Server; use solana::signature::{KeyPair, KeyPairUtil}; use solana::transaction::Instruction; diff --git a/src/lib.rs b/src/lib.rs index 228ba290cf..cb6e975f61 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ pub mod ledger; pub mod logger; pub mod mint; pub mod packet; -pub mod plan; +pub mod payment_plan; pub mod record_stage; pub mod recorder; pub mod replicate_stage; diff --git a/src/plan.rs b/src/payment_plan.rs similarity index 100% rename from src/plan.rs rename to src/payment_plan.rs diff --git a/src/transaction.rs b/src/transaction.rs index 20f1d9c162..2c342234a9 100644 --- a/src/transaction.rs +++ b/src/transaction.rs @@ -4,7 +4,7 @@ use bincode::serialize; use budget::{Budget, Condition}; use chrono::prelude::*; use hash::Hash; -use plan::{Payment, PaymentPlan, Witness}; +use payment_plan::{Payment, PaymentPlan, Witness}; use signature::{KeyPair, KeyPairUtil, PublicKey, Signature, SignatureUtil}; pub const SIGNED_DATA_OFFSET: usize = 112;