From d3ea720afb75e519f71fb7d203c0e79cf86f0b12 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 8 Apr 2021 15:49:14 +0300 Subject: [PATCH] result: gofmt -s --- pkg/rpc/response/result/invoke_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpc/response/result/invoke_test.go b/pkg/rpc/response/result/invoke_test.go index 769b26620..3ecc1358c 100644 --- a/pkg/rpc/response/result/invoke_test.go +++ b/pkg/rpc/response/result/invoke_test.go @@ -15,7 +15,7 @@ import ( func TestInvoke_MarshalJSON(t *testing.T) { tx := transaction.New([]byte{1, 2, 3, 4}, 0) tx.Signers = []transaction.Signer{{Account: util.Uint160{1, 2, 3}}} - tx.Scripts = []transaction.Witness{transaction.Witness{InvocationScript: []byte{}, VerificationScript: []byte{}}} + tx.Scripts = []transaction.Witness{{InvocationScript: []byte{}, VerificationScript: []byte{}}} _ = tx.Size() tx.Hash()