kaedon78 / ore-cli-mod

Apache License 2.0
12 stars 4 forks source link

code: 2, kind: NotFound, message: "No such file or directory" #1

Closed csxuyang closed 7 months ago

csxuyang commented 7 months ago

Hi,bro: I just run the program,but is error . the commad: ore \ --rpc XXX \ --keypair1 /root/.config/solana/id0.json \ --priority-fee 1 \ mine

the error below: thread 'main' panicked at src/main.rs:333:59: called Result::unwrap() on an Err value: Os { code: 2, kind: NotFound, message: "No such file or directory" } note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

Thank you for sharing!

kaedon78 commented 7 months ago

you need to provide 5 keypairs total for it to work

kaedon78 commented 7 months ago

Beta branch now allows variable number of keys from 1 to 5 through params --keypair1, --keypair2, --keypair3, --keypair4, --keypair5.