Skip to content

Commit

Permalink
feat: impl settlement
Browse files Browse the repository at this point in the history
  • Loading branch information
eigmax authored and captainlee1024 committed Apr 25, 2024
1 parent d8e0d30 commit d21e87b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/operator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub(crate) struct Operator {

impl Operator {
pub fn new(_db_path: &str, l1addr: &str, prover_addr: &str) -> Self {
let (sx, rx) = mpsc::channel(10);
let (sx, rx_proof) = mpsc::channel(10);
let prover = ProverChannel::new(prover_addr, sx);
let db = lfs::open_db(lfs::DBConfig::Memory).unwrap();
// TODO: abstract this in the settlement
Expand All @@ -37,7 +37,7 @@ impl Operator {
db,
provider,
settler,
rx_proof: rx,
rx_proof,
}
}

Expand Down

0 comments on commit d21e87b

Please sign in to comment.