From ada44cb83e1ddb8d192f1fd9bc4450ae0d1b1829 Mon Sep 17 00:00:00 2001 From: Ji Hwan Date: Wed, 14 Aug 2024 15:12:39 +0900 Subject: [PATCH] chore: remove gen-ulxly-go-bindings from make Signed-off-by: Ji Hwan --- cmd/ulxly/ulxly.go | 4 +--- contracts/Makefile | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/cmd/ulxly/ulxly.go b/cmd/ulxly/ulxly.go index 06efa836..e91022af 100644 --- a/cmd/ulxly/ulxly.go +++ b/cmd/ulxly/ulxly.go @@ -592,15 +592,13 @@ func (s *IMT) GetRoot(depositNum uint32) common.Hash { // GetProof will return an object containing the proof data necessary for verification func (s *IMT) GetProof(depositNum uint32) Proof { node := common.Hash{} - // nolint:staticcheck // SA4006 ignore this! - sibling := common.Hash{} size := depositNum + 1 currentZeroHashHeight := common.Hash{} siblings := [TreeDepth]common.Hash{} for height := 0; height < TreeDepth; height++ { siblingDepositNum := getSiblingDepositNumber(depositNum, uint32(height)) - + sibling := currentZeroHashHeight if _, hasKey := s.Branches[siblingDepositNum]; hasKey { sibling = s.Branches[siblingDepositNum][height] } else { diff --git a/contracts/Makefile b/contracts/Makefile index b551322b..ba171add 100644 --- a/contracts/Makefile +++ b/contracts/Makefile @@ -58,4 +58,4 @@ gen-ulxly-go-bindings: .PHONY: gen-go-bindings -gen-go-bindings: build gen-funder-go-bindings gen-tester-go-bindings gen-tokens-go-bindings gen-ulxly-go-bindings ## Generate go bindings. +gen-go-bindings: build gen-funder-go-bindings gen-tester-go-bindings gen-tokens-go-bindings ## Generate go bindings.