Renamed prefix on oracle network
This commit is contained in:
@@ -3,12 +3,12 @@ use std::collections::HashMap;
|
||||
use crate::{utils, AssetPair, OracleId, PriceAttestation};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub(crate) struct OracleNetworkCRDT {
|
||||
pub(crate) struct NetworkCRDT {
|
||||
pub(crate) attestations: HashMap<String, PriceAttestation>,
|
||||
pub(crate) oracle_scores: HashMap<OracleId, f64>,
|
||||
}
|
||||
|
||||
impl OracleNetworkCRDT {
|
||||
impl NetworkCRDT {
|
||||
pub(crate) fn new() -> Self {
|
||||
Self {
|
||||
attestations: HashMap::new(),
|
||||
|
||||
Reference in New Issue
Block a user