diff --git a/bin/drk/src/main.rs b/bin/drk/src/main.rs index cb95d3d2d..2b3d0b471 100644 --- a/bin/drk/src/main.rs +++ b/bin/drk/src/main.rs @@ -128,7 +128,7 @@ impl Drk { println!("Requesting airdrop for {}", addr); let req = jsonrpc::request(json!("airdrop"), json!([json!(addr.to_string()), amount])); let rpc_client = RpcClient::new(endpoint).await?; - let rep = self.rpc_client.request(req).await.or_else(|e| { + let rep = rpc_client.request(req).await.or_else(|e| { error!("Failed requesting airdrop: {}", e); return Err(e) })?;