mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-11 13:39:25 +00:00
Update monero-oxide to the branch with the new RPC
See https://github.com/monero-oxide/monero-oxide/pull/66. Allows us to remove the shim `simple-request 0.1` we had to define as we now have `simple-request 0.2` in tree.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
static ALLOCATOR: zalloc::ZeroizingAlloc<std::alloc::System> =
|
||||
zalloc::ZeroizingAlloc(std::alloc::System);
|
||||
|
||||
use monero_simple_request_rpc::SimpleRequestRpc;
|
||||
use monero_simple_request_rpc::SimpleRequestTransport;
|
||||
|
||||
mod primitives;
|
||||
pub(crate) use crate::primitives::*;
|
||||
@@ -23,7 +23,7 @@ async fn main() {
|
||||
let db = bin::init();
|
||||
let feed = Rpc {
|
||||
rpc: loop {
|
||||
match SimpleRequestRpc::new(bin::url()).await {
|
||||
match SimpleRequestTransport::new(bin::url()).await {
|
||||
Ok(rpc) => break rpc,
|
||||
Err(e) => {
|
||||
log::error!("couldn't connect to the Monero node: {e:?}");
|
||||
|
||||
Reference in New Issue
Block a user