aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/faucet
diff options
context:
space:
mode:
authorkiel barry <kiel.j.barry@gmail.com>2018-06-05 18:31:34 +0800
committerFelix Lange <fjl@users.noreply.github.com>2018-06-05 18:31:34 +0800
commitcbfb40b0aab093e1b612f3b16834894b2cc67882 (patch)
tree19cbd1397343459aabf211857fcc5df26f4cee6c /cmd/faucet
parent4cf2b4110e9942bdcba1b9b1d82b3ca8ff552f64 (diff)
downloadgo-tangerine-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar
go-tangerine-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.gz
go-tangerine-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.bz2
go-tangerine-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.lz
go-tangerine-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.xz
go-tangerine-cbfb40b0aab093e1b612f3b16834894b2cc67882.tar.zst
go-tangerine-cbfb40b0aab093e1b612f3b16834894b2cc67882.zip
params: fix golint warnings (#16853)
params: fix golint warnings
Diffstat (limited to 'cmd/faucet')
-rw-r--r--cmd/faucet/faucet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/faucet/faucet.go b/cmd/faucet/faucet.go
index 5bad09bbd..5f00dde74 100644
--- a/cmd/faucet/faucet.go
+++ b/cmd/faucet/faucet.go
@@ -474,7 +474,7 @@ func (f *faucet) apiHandler(conn *websocket.Conn) {
amount = new(big.Int).Div(amount, new(big.Int).Exp(big.NewInt(2), big.NewInt(int64(msg.Tier)), nil))
tx := types.NewTransaction(f.nonce+uint64(len(f.reqs)), address, amount, 21000, f.price, nil)
- signed, err := f.keystore.SignTx(f.account, tx, f.config.ChainId)
+ signed, err := f.keystore.SignTx(f.account, tx, f.config.ChainID)
if err != nil {
f.lock.Unlock()
if err = sendError(conn, err); err != nil {