Commit bef7fa06 authored by vipwzw's avatar vipwzw

auto ci

parent 6261a1af
...@@ -7,11 +7,12 @@ package commands ...@@ -7,11 +7,12 @@ package commands
import ( import (
"encoding/hex" "encoding/hex"
"fmt" "fmt"
"github.com/33cn/plugin/plugin/dapp/evm/commands/compiler"
"math/rand" "math/rand"
"os" "os"
"time" "time"
"github.com/33cn/plugin/plugin/dapp/evm/commands/compiler"
"strings" "strings"
"strconv" "strconv"
...@@ -227,7 +228,7 @@ func createContract(cmd *cobra.Command, args []string) { ...@@ -227,7 +228,7 @@ func createContract(cmd *cobra.Command, args []string) {
feeInt64 := uint64(fee*1e4) * 1e4 feeInt64 := uint64(fee*1e4) * 1e4
if !strings.EqualFold(sol, "") && !strings.EqualFold(code,"") && !strings.EqualFold(abi,"" ) { if !strings.EqualFold(sol, "") && !strings.EqualFold(code, "") && !strings.EqualFold(abi, "") {
fmt.Fprintln(os.Stderr, "--sol, --code and --abi shouldn't be used at the same time.") fmt.Fprintln(os.Stderr, "--sol, --code and --abi shouldn't be used at the same time.")
return return
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment