aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorJohn Newbery <john@johnnewbery.com>2021-08-24 11:40:21 +0100
committerJohn Newbery <john@johnnewbery.com>2021-08-27 10:55:44 +0100
commitf9002cb5dbd573cd9ca200de21319fa296e26055 (patch)
tree08b1018f1337809756e86afba92af4f224249c6f /src/test
parentf572f2b2048994b3b50f4cfd5de19e40b1acfb22 (diff)
downloadbitcoin-f9002cb5dbd573cd9ca200de21319fa296e26055.tar.xz
[net] Rename the copyStats arg from m_asmap to asmap
The m_ prefix indicates that a variable is a data member. Using it as a parameter name is misleading. Also update the name of the function from copyStats to CopyStats to comply with our style guide.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/fuzz/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/net.cpp b/src/test/fuzz/net.cpp
index 20d8581312..e00b5b09bf 100644
--- a/src/test/fuzz/net.cpp
+++ b/src/test/fuzz/net.cpp
@@ -46,7 +46,7 @@ FUZZ_TARGET_INIT(net, initialize_net)
return;
}
CNodeStats stats;
- node.copyStats(stats, asmap);
+ node.CopyStats(stats, asmap);
},
[&] {
const CNode* add_ref_node = node.AddRef();