rpcsrv: format code

Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
This commit is contained in:
Anna Shaleva 2023-09-20 16:33:37 +03:00
parent b284b902d6
commit e6b4fbc999

View file

@ -2333,7 +2333,7 @@ func TestNotaryRequestRPC(t *testing.T) {
submitNotaryRequest(t, false, 0, str)(t) submitNotaryRequest(t, false, 0, str)(t)
t.Run("nonempty pool", func(t *testing.T) { t.Run("nonempty pool", func(t *testing.T) {
//get notary pool & check tx hashes // get notary pool & check tx hashes
body := doRPCCallOverHTTP(rpcPool, httpSrv.URL, t) body := doRPCCallOverHTTP(rpcPool, httpSrv.URL, t)
res := checkErrGetResult(t, body, false, 0) res := checkErrGetResult(t, body, false, 0)
actual := new(result.RawNotaryPool) actual := new(result.RawNotaryPool)
@ -2353,7 +2353,7 @@ func TestNotaryRequestRPC(t *testing.T) {
submitNotaryRequest(t, false, 0, str2)(t) submitNotaryRequest(t, false, 0, str2)(t)
t.Run("pool with 2", func(t *testing.T) { t.Run("pool with 2", func(t *testing.T) {
//get notary pool & check tx hashes // get notary pool & check tx hashes
body := doRPCCallOverHTTP(rpcPool, httpSrv.URL, t) body := doRPCCallOverHTTP(rpcPool, httpSrv.URL, t)
res := checkErrGetResult(t, body, false, 0) res := checkErrGetResult(t, body, false, 0)
actual := new(result.RawNotaryPool) actual := new(result.RawNotaryPool)