regolith-labs / ore-cli

Command line interface for ORE cryptocurrency mining.
1.47k stars 669 forks source link

cargo build --release The following problem occurs #131

Closed mgcnb666 closed 3 months ago

mgcnb666 commented 3 months ago
error[E0599]: no method named ok_or_else found for enum Result in the current scope --> src/dynamic_fee.rs:138:22 134 / serde_json::from_value::<Vec>(response["result"].clone()) 135 .map( prioritization_fees { 136 estimate_prioritization_fee_micro_lamports(prioritization_fees) 137 }) 138 .ok_or_else( error: serde_json::Error { -^^^^^^^^^^ help: there is a method with a similar name: or_else _____

For more information about this error, try rustc --explain E0599. error: could not compile ore-cli (bin "ore") due to 1 previous error root@velia-stl:~/ore-cli#

corylanou commented 3 months ago

He fixed this in the last release, try it again.