Skip to content

Commit 0eba400

Browse files
committed
fix: missing staking::aux -> staking::helpers
1 parent 5db1043 commit 0eba400

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

data_structures/src/staking/errors.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::staking::aux::StakeKey;
1+
use crate::staking::helpers::StakeKey;
22
use failure::Fail;
33
use std::{
44
convert::From,

data_structures/src/staking/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#![deny(missing_docs)]
22

3-
/// Auxiliary convenience types and data structures.
4-
pub mod helpers;
53
/// Constants related to the staking functionality.
64
pub mod constants;
75
/// Errors related to the staking functionality.
86
pub mod errors;
7+
/// Auxiliary convenience types and data structures.
8+
pub mod helpers;
99
/// The data structure and related logic for stake entries.
1010
pub mod stake;
1111
/// The data structure and related logic for keeping track of multiple stake entries.
@@ -16,9 +16,9 @@ pub mod stakes;
1616
pub mod prelude {
1717
pub use crate::capabilities::*;
1818

19-
pub use super::helpers::*;
2019
pub use super::constants::*;
2120
pub use super::errors::*;
21+
pub use super::helpers::*;
2222
pub use super::stake::*;
2323
pub use super::stakes::*;
2424
}

data_structures/src/wit.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ use std::{fmt, ops::*};
22

33
use serde::{Deserialize, Serialize};
44

5-
use crate::{chain::Epoch, staking::aux::Power};
5+
use crate::{chain::Epoch, staking::helpers::Power};
66

77
/// 1 nanowit is the minimal unit of value
88
/// 1 wit = 10^9 nanowits

node/src/actors/messages.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use witnet_data_structures::{
2727
},
2828
fee::{deserialize_fee_backwards_compatible, Fee},
2929
radon_report::RadonReport,
30-
staking::{aux::StakeKey, stakes::QueryStakesKey},
30+
staking::{helpers::StakeKey, stakes::QueryStakesKey},
3131
transaction::{
3232
CommitTransaction, DRTransaction, RevealTransaction, StakeTransaction, Transaction,
3333
VTTransaction,

0 commit comments

Comments
 (0)