Skip to content

Commit 3076f18

Browse files
committed
doc: net: fix link to onion address encoding scheme [ONIONADDRESS]
Instead of referring to a fixed line number to a file in master (which is obviously always quickly outdated), use a permalink tied to the latest commit.
1 parent 0e81d11 commit 3076f18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/netaddress.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ bool CNetAddr::SetInternal(const std::string &name)
179179
}
180180

181181
namespace torv3 {
182-
// https://gitweb.torproject.org/torspec.git/tree/rend-spec-v3.txt#n2135
182+
// https://gitweb.torproject.org/torspec.git/tree/rend-spec-v3.txt?id=7116c9cdaba248aae07a3f1d0e15d9dd102f62c5#n2175
183183
static constexpr size_t CHECKSUM_LEN = 2;
184184
static const unsigned char VERSION[] = {3};
185185
static constexpr size_t TOTAL_LEN = ADDR_TORV3_SIZE + CHECKSUM_LEN + sizeof(VERSION);

0 commit comments

Comments
 (0)