summaryrefslogtreecommitdiffstats
path: root/cmd/test
diff options
context:
space:
mode:
authorbt <bt@rctt.net>2026-03-10 14:10:41 +0100
committerbt <bt@rctt.net>2026-03-10 14:10:41 +0100
commit6dcbb66fcafce3da6d7c00d9679946b77f6f6186 (patch)
treebf5b4dc13290cad2fcf9432051a0dcc2149749cf /cmd/test
parent49f27239bfeae275c06fc21035b9835542a87612 (diff)
downloadsolec-6dcbb66fcafce3da6d7c00d9679946b77f6f6186.tar.gz
solec-6dcbb66fcafce3da6d7c00d9679946b77f6f6186.zip
Fix client and server
Diffstat (limited to 'cmd/test')
-rw-r--r--cmd/test/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/test/main.go b/cmd/test/main.go
index e580b63..35eddad 100644
--- a/cmd/test/main.go
+++ b/cmd/test/main.go
@@ -1,6 +1,7 @@
package main
import (
+ "bytes"
"fmt"
"time"
@@ -25,7 +26,7 @@ func main() {
}
fmt.Printf("% X\n", data)
- out, err := core.Decode(data)
+ out, err := core.Decode(bytes.NewBuffer(data))
if err != nil {
panic(err)
}