Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed Jun 19, 2024
1 parent b85fd78 commit 79ba119
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion baseapp/abci.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"syscall"
"time"

ocabci "github.com/Finschia/ostracon/abci/types"
"github.com/gogo/protobuf/proto"
abci "github.com/tendermint/tendermint/abci/types"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
Expand Down Expand Up @@ -54,7 +55,7 @@ func (app *BaseApp) InitChain(req abci.RequestInitChain) abci.ResponseInitChain
}

if app.initChainer == nil {
return res
return abci.ResponseInitChain{}
}

// add block gas meter for any genesis transactions (allow infinite gas)
Expand Down
2 changes: 1 addition & 1 deletion crypto/keys/secp256k1/secp256k1_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func Test_genPrivKey(t *testing.T) {
}
got := genPrivKey(bytes.NewReader(tt.notSoRand))
fe := new(big.Int).SetBytes(got)
require.True(t, fe.Cmp(secp.S256().N) < 0)
require.True(t, fe.Cmp(btcSecp256k1.S256().N) < 0)
require.True(t, fe.Sign() > 0)
})
}
Expand Down
3 changes: 0 additions & 3 deletions server/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,8 @@ import (
"syscall"
"time"

ostcmd "github.com/Finschia/ostracon/cmd/ostracon/commands"
tmcmd "github.com/Finschia/ostracon/cmd/ostracon/commands"
ostcfg "github.com/Finschia/ostracon/config"
tmcfg "github.com/Finschia/ostracon/config"
ostlog "github.com/Finschia/ostracon/libs/log"
tmlog "github.com/Finschia/ostracon/libs/log"
"github.com/spf13/cobra"
"github.com/spf13/pflag"
Expand Down

0 comments on commit 79ba119

Please sign in to comment.