aboutsummaryrefslogtreecommitdiff
path: root/src/netaddress.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-01-19 15:36:39 +0100
committerJon Atack <jon@atack.com>2021-02-02 00:01:36 +0100
commit1c3af37881adbbc37fb9924bcf69c403fcae1ae7 (patch)
tree41b30429d6ec8767afab80187673d5ae7474871a /src/netaddress.h
parentb45eae4d5332f1da71ba9ec983fe7818fa4d32e9 (diff)
downloadbitcoin-1c3af37881adbbc37fb9924bcf69c403fcae1ae7.tar.xz
net: create GetNetworkNames()
Diffstat (limited to 'src/netaddress.h')
-rw-r--r--src/netaddress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/netaddress.h b/src/netaddress.h
index b9eade7fd5..d0986557f7 100644
--- a/src/netaddress.h
+++ b/src/netaddress.h
@@ -36,7 +36,7 @@ static constexpr int ADDRV2_FORMAT = 0x20000000;
* @note An address may belong to more than one network, for example `10.0.0.1`
* belongs to both `NET_UNROUTABLE` and `NET_IPV4`.
* Keep these sequential starting from 0 and `NET_MAX` as the last entry.
- * We have loops like `for (int i = 0; i < NET_MAX; i++)` that expect to iterate
+ * We have loops like `for (int i = 0; i < NET_MAX; ++i)` that expect to iterate
* over all enum values and also `GetExtNetwork()` "extends" this enum by
* introducing standalone constants starting from `NET_MAX`.
*/