bip-0331: correct size of version field in sendpackages

Since the version is denoted as uint64, the size should be 8 bytes.
This commit is contained in:
Calvin Kim authored and GitHub committed 2025-05-19 12:29:39 +09:00
1 parent 3b76d78bdb
commit 5d82f82693
1 file changed
+1 -1
+1 -1
View File
@@ -246,7 +246,7 @@ Four new protocol messages and two inv types are added.
{|
| Field Name || Type || Size || Purpose
|-
|versions || uint64_t || 4 || Bit field that is 64 bits wide, denoting the package versions supported by the sender.
|versions || uint64_t || 8 || Bit field that is 64 bits wide, denoting the package versions supported by the sender.
|-
|}