Debug address
This commit is contained in:
parent
fb115b280f
commit
6daddeab9e
|
@ -543,7 +543,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "golgi"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
dependencies = [
|
||||
"async-std",
|
||||
"async-stream 0.3.2",
|
||||
|
@ -553,6 +553,7 @@ dependencies = [
|
|||
"kuska-handshake",
|
||||
"kuska-sodiumoxide",
|
||||
"kuska-ssb",
|
||||
"log",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sha2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "golgi"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
edition = "2021"
|
||||
authors = ["Max Fowler <max@mfowler.info>", "Andrew Reid <glyph@mycelial.technology>"]
|
||||
readme = "README.md"
|
||||
|
@ -16,6 +16,7 @@ async-std = "1.10.0"
|
|||
async-stream = "0.3.2"
|
||||
base64 = "0.13.0"
|
||||
futures = "0.3.21"
|
||||
log = "0.4"
|
||||
hex = "0.4.3"
|
||||
kuska-handshake = { version = "0.2.0", features = ["async_std"] }
|
||||
kuska-sodiumoxide = "0.2.5-0"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//! Sbot type and connection-related methods.
|
||||
use async_std::net::TcpStream;
|
||||
use log::debug;
|
||||
|
||||
use kuska_handshake::async_std::BoxStream;
|
||||
use kuska_sodiumoxide::crypto::{auth, sign::ed25519};
|
||||
|
@ -66,6 +67,7 @@ impl Sbot {
|
|||
|
||||
if address.starts_with(":") {
|
||||
address = format!("127.0.0.1{}", address);
|
||||
debug!("prefixing address: {}", address);
|
||||
}
|
||||
|
||||
let network_id = if net_id.is_none() {
|
||||
|
|
Loading…
Reference in New Issue