mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2025-05-09 13:13:13 +00:00
*: fix ineffassign where the value should really be used
Found with GoReportCard.
This commit is contained in:
parent
ec2a2f3fb9
commit
f6a308f7f6
3 changed files with 5 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue