Skip to content

Commit

Permalink
Dealing with some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
joii2020 committed Jun 28, 2024
1 parent d6849b2 commit cf33b9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shared/src/shared_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ impl SharedBuilder {
}

let db = {
let db_dir = PathBuf::from("/tmp/tmp.db");
let db_dir = std::env::temp_dir();
RocksDB::open_in(db_dir, COLUMNS)
};
SharedBuilder {
Expand Down
3 changes: 2 additions & 1 deletion sync/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ ckb-chain-spec = { path = "../spec", version = "= 0.117.0-pre" }
ckb-channel = { path = "../util/channel", version = "= 0.117.0-pre" }
ckb-traits = { path = "../traits", version = "= 0.117.0-pre" }
ckb-error = { path = "../error", version = "= 0.117.0-pre" }
ckb-tx-pool = { path = "../tx-pool", version = "= 0.117.0-pre", features = ["internal"] }
ckb-tx-pool = { path = "../tx-pool", version = "= 0.117.0-pre" }
sentry = { version = "0.26.0", optional = true }
ckb-constant = { path = "../util/constant", version = "= 0.117.0-pre" }
ckb-async-runtime = { path = "../util/runtime", version = "= 0.117.0-pre" }
Expand Down Expand Up @@ -52,6 +52,7 @@ faux = "^0.1"
once_cell = "1.8.0"
ckb-systemtime = { path = "../util/systemtime", version = "= 0.117.0-pre", features = ["enable_faketime"] }
ckb-proposal-table = { path = "../util/proposal-table", version = "= 0.117.0-pre" }
ckb-tx-pool = { path = "../tx-pool", version = "= 0.117.0-pre", features = ["internal"] }

[features]
default = []
Expand Down

0 comments on commit cf33b9d

Please sign in to comment.