forked from TrueCloudLab/neoneo-go
*: drop empty branches
Fix this warning from staticcheck: SA9003: empty branch
This commit is contained in:
parent
92dbb3c4b9
commit
333f778aa6
2 changed files with 4 additions and 4 deletions
|
@ -25,9 +25,9 @@ func Calculate(base int64, script []byte) (int64, int) {
|
|||
size += io.GetVarSize(sizeInv) + sizeInv + io.GetVarSize(script)
|
||||
netFee += calculateMultisig(base, m) + calculateMultisig(base, n)
|
||||
netFee += base * ECDSAVerifyPrice * int64(n)
|
||||
} else {
|
||||
} /*else {
|
||||
// We can support more contract types in the future.
|
||||
}
|
||||
}*/
|
||||
return netFee, size
|
||||
}
|
||||
|
||||
|
|
|
@ -91,8 +91,8 @@ func New(ctx context.Context, endpoint string, opts Options) (*Client, error) {
|
|||
}
|
||||
|
||||
// TODO(@antdm): Enable SSL.
|
||||
if opts.Cert != "" && opts.Key != "" {
|
||||
}
|
||||
// if opts.Cert != "" && opts.Key != "" {
|
||||
// }
|
||||
|
||||
cl := &Client{
|
||||
ctx: ctx,
|
||||
|
|
Loading…
Reference in a new issue