Skip to content

Commit

Permalink
Eddited FileAppendTest
Browse files Browse the repository at this point in the history
Signed-off-by: NikolaMirchev <nikola.mirchev@limechain.tech>
  • Loading branch information
NikolaMirchev committed Feb 5, 2024
1 parent 8de4736 commit d22fe0f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion file_append_transaction_e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit d22fe0f

Please sign in to comment.