Implements net_version for Ethers (#121)

This commit is contained in:
Austin Abell
2019-10-15 10:20:35 +09:00
committed by GitHub
parent a61f3b892d
commit 5a19ae5706
4 changed files with 42 additions and 1 deletions
+1 -1
View File
@@ -427,7 +427,7 @@ func GenerateFromArgs(args args.SendTxArgs, ctx context.CLIContext) (msg *Ethere
if args.Gas == nil {
// Estimate the gas usage if necessary.
// TODO: Set gas based on estimate when simulating txs are setup
gasLimit = 22000
gasLimit = 60000
} else {
gasLimit = (uint64)(*args.Gas)
}