From d22fe0faa39b4b026474c8c30c36c9f6c3b66a85 Mon Sep 17 00:00:00 2001 From: NikolaMirchev Date: Mon, 5 Feb 2024 13:42:11 +0200 Subject: [PATCH] Eddited FileAppendTest Signed-off-by: NikolaMirchev --- file_append_transaction_e2e_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/file_append_transaction_e2e_test.go b/file_append_transaction_e2e_test.go index 17d298fe3..3ecc25d18 100644 --- a/file_append_transaction_e2e_test.go +++ b/file_append_transaction_e2e_test.go @@ -169,7 +169,9 @@ func TestIntegrationFileAppendTransactionCanExecuteAfterSerializationDeserializa afterI, err := TransactionFromBytes(bytes) require.NoError(t, err) - resp, err = afterI.(*FileAppendTransaction).SetNodeAccountIDs([]AccountID{resp.NodeID}). + tx := afterI.(FileAppendTransaction) + + resp, err = tx.SetNodeAccountIDs([]AccountID{resp.NodeID}). SetContents([]byte(" world!")).Execute(env.Client) require.NoError(t, err)