mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-09-01 11:24:02 +03:00
Remove borsh borsh new borsch
This commit is contained in:
@@ -21,13 +21,13 @@ var proxySecret = []byte{196, 249, 250, 202, 150, 120, 230, 187, 72, 173,
|
||||
183, 6, 27, 38, 93, 178, 18}
|
||||
|
||||
func TestMakeKeys(t *testing.T) {
|
||||
req, err := rpc.NewRPCNonceRequest(proxySecret)
|
||||
req, err := rpc.NewNonceRequest(proxySecret)
|
||||
assert.Nil(t, err)
|
||||
|
||||
copy(req.Nonce[:], []byte{24, 49, 53, 111, 198, 10, 235, 180, 230, 112, 92, 78, 1, 201, 106, 105})
|
||||
binary.LittleEndian.PutUint32(req.CryptoTS[:], 1528396015)
|
||||
|
||||
resp := &rpc.RPCNonceResponse{}
|
||||
resp := &rpc.NonceResponse{}
|
||||
copy(resp.Nonce[:], []byte{247, 40, 210, 56, 65, 12, 101, 170, 216, 155, 14, 253, 250, 238, 219, 226})
|
||||
|
||||
cltAddr := &net.TCPAddr{
|
||||
|
||||
Reference in New Issue
Block a user