*: fix ineffassign where the value should really be used

Found with GoReportCard.
This commit is contained in:
Roman Khimov 2020-08-14 12:08:57 +03:00
parent ec2a2f3fb9
commit f6a308f7f6
3 changed files with 5 additions and 1 deletions

View file

@ -733,6 +733,7 @@ func TestContractUpdate(t *testing.T) {
// updated contract should have new scripthash
actual, err := ic.DAO.GetContractState(cs.ScriptHash())
require.NoError(t, err)
expected := &state.Contract{
ID: cs.ID,
Script: cs.Script,