diff options
| author | bt <bt@rctt.net> | 2026-05-16 19:15:21 +0200 |
|---|---|---|
| committer | bt <bt@rctt.net> | 2026-05-16 22:46:48 +0200 |
| commit | 82902e9dc3ad67c49e4f9381b83d38a659efa083 (patch) | |
| tree | e53faaa5231eb6624fea4e4c448709d7a8765d37 /core/data.go | |
| parent | c04c73a4df223c8c2b2b42ed482fc0181948e6ea (diff) | |
| download | solec-82902e9dc3ad67c49e4f9381b83d38a659efa083.tar.gz solec-82902e9dc3ad67c49e4f9381b83d38a659efa083.zip | |
Add history reading
Diffstat (limited to 'core/data.go')
| -rw-r--r-- | core/data.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/data.go b/core/data.go index 2a98347..4d18604 100644 --- a/core/data.go +++ b/core/data.go @@ -24,6 +24,7 @@ const ( PayloadMessage = 0x05 PayloadServerAuth = 0x06 PayloadUsermode = 0x07 + PayloadHistory = 0x08 PayloadTest = 0xFF ) @@ -143,6 +144,8 @@ func Decode(buf io.Reader) (any, error) { return DecodeMessage(buf) case PayloadUsermode: return DecodeUsermode(buf) + case PayloadHistory: + return DecodeHistory(buf) case PayloadTest: return DecodeTest(buf) default: |
