diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-09-30 17:08:26 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-10-02 16:26:33 +0200 |
commit | fa5ed3b4ca609426b2622cad235e107d33db7b30 (patch) | |
tree | c5fccc954fccb4b2eb028a2dc656493e03c4066c /src/test/util/net.h | |
parent | 69a73803dfb2f65919660902d126487906a31770 (diff) | |
download | bitcoin-fa5ed3b4ca609426b2622cad235e107d33db7b30.tar.xz |
net: Use Span in ReceiveMsgBytes
Diffstat (limited to 'src/test/util/net.h')
-rw-r--r-- | src/test/util/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/util/net.h b/src/test/util/net.h index ca8cb7fad5..fe423e7e89 100644 --- a/src/test/util/net.h +++ b/src/test/util/net.h @@ -25,7 +25,7 @@ struct ConnmanTestMsg : public CConnman { void ProcessMessagesOnce(CNode& node) { m_msgproc->ProcessMessages(&node, flagInterruptMsgProc); } - void NodeReceiveMsgBytes(CNode& node, const char* pch, unsigned int nBytes, bool& complete) const; + void NodeReceiveMsgBytes(CNode& node, Span<const char> msg_bytes, bool& complete) const; bool ReceiveMsgFrom(CNode& node, CSerializedNetMsg& ser_msg) const; }; |