nonce 응답 추가

This commit is contained in:
2023-12-19 17:04:14 +09:00
parent 17593f74c6
commit c9ac5980a5
3 changed files with 52 additions and 23 deletions

View File

@ -6,7 +6,6 @@ import (
"encoding/json"
"errors"
"fmt"
"math"
"reflect"
"testing"
@ -106,13 +105,3 @@ func TestPeerApiBroker(t *testing.T) {
func1args, _ = json.Marshal([]any{float64(111.1), []int{99, 98}})
ws.Call(peer, "test.ApiFunc3", bytes.NewBuffer(func1args))
}
func TestOverflow(t *testing.T) {
var x uint32
x = math.MaxUint32
var y uint32
y = x + 1
fmt.Printf("%x, %x", x, y)
}