-
Notifications
You must be signed in to change notification settings - Fork 221
Open
Description
[ERROR] thread 'main' panicked at kaspad/src/daemon.rs:226:32: attempt to multiply with overflow
thread 'main' panicked at kaspad/src/daemon.rs:226:32:
attempt to multiply with overflow
note: run with RUST_BACKTRACE=1
environment variable to display a backtrace
Exiting...
kaspad/src/daemon.rs:
pub fn create_core_with_runtime(runtime: &Runtime, args: &Args, fd_total_budget: i32) -> (Arc, Arc) {
let network = args.network();
let mut fd_remaining = fd_total_budget;
let utxo_files_limit = if args.utxoindex {
let utxo_files_limit = fd_remaining * 10 / 100;
fd_remaining -= utxo_files_limit;
utxo_files_limit
} else {
0
};
Line 226: let utxo_files_limit = fd_remaining * 10 / 100;
Metadata
Metadata
Assignees
Labels
No labels