diff options
author | Felix Lange <fjl@twurst.com> | 2015-04-17 08:13:32 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-04-17 20:45:10 +0800 |
commit | 9c7281c17ebbdd6a8c10ecc618bcb9121215a21f (patch) | |
tree | 158ea1831f4abec10ed1156e04197b048ffd6cdd /p2p | |
parent | 4d5a518a0ba7b0f1d42c73f3c28fe0828e7ea974 (diff) | |
download | go-tangerine-9c7281c17ebbdd6a8c10ecc618bcb9121215a21f.tar.gz go-tangerine-9c7281c17ebbdd6a8c10ecc618bcb9121215a21f.tar.zst go-tangerine-9c7281c17ebbdd6a8c10ecc618bcb9121215a21f.zip |
p2p: make DiscReason bigger than byte
We decode into [1]DiscReason in a few places. That doesn't work anymore
because package rlp no longer accepts RLP lists for byte arrays.
Diffstat (limited to 'p2p')
-rw-r--r-- | p2p/peer_error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/peer_error.go b/p2p/peer_error.go index 402131630..a912f6064 100644 --- a/p2p/peer_error.go +++ b/p2p/peer_error.go @@ -57,7 +57,7 @@ func (self *peerError) Error() string { return self.message } -type DiscReason byte +type DiscReason uint const ( DiscRequested DiscReason = iota |