mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Support an authenticated Monero RPC
Closes https://github.com/serai-dex/serai/issues/143.
This commit is contained in:
@@ -70,7 +70,7 @@ pub struct Monero {
|
||||
|
||||
impl Monero {
|
||||
pub async fn new(url: String) -> Monero {
|
||||
Monero { rpc: Rpc::new(url), view: additional_key::<Monero>(0).0 }
|
||||
Monero { rpc: Rpc::new(url).unwrap(), view: additional_key::<Monero>(0).0 }
|
||||
}
|
||||
|
||||
fn scanner(&self, spend: dfg::EdwardsPoint) -> Scanner {
|
||||
|
||||
Reference in New Issue
Block a user