aboutsummaryrefslogtreecommitdiffstats
path: root/internal/ethapi/api.go
diff options
context:
space:
mode:
authorZsolt Felfoldi <zsfelfoldi@gmail.com>2016-11-14 20:43:22 +0800
committerZsolt Felfoldi <zsfelfoldi@gmail.com>2016-11-14 21:16:06 +0800
commitb10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5 (patch)
tree9acc32d1edca04b8a2b2894b3177f31c78f8298f /internal/ethapi/api.go
parentd8e2e9a41fa0283c8e757a6149c0257d2f8a1ad9 (diff)
downloadgo-tangerine-b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5.tar
go-tangerine-b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5.tar.gz
go-tangerine-b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5.tar.bz2
go-tangerine-b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5.tar.lz
go-tangerine-b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5.tar.xz
go-tangerine-b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5.tar.zst
go-tangerine-b10bcd924ba79f9faa5b8f2d273a7ee02d7b89f5.zip
core/types: turn off nonce checking for Call messages
Diffstat (limited to 'internal/ethapi/api.go')
-rw-r--r--internal/ethapi/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/ethapi/api.go b/internal/ethapi/api.go
index 0e4dd4524..a25eff5ed 100644
--- a/internal/ethapi/api.go
+++ b/internal/ethapi/api.go
@@ -545,7 +545,7 @@ func (s *PublicBlockChainAPI) doCall(ctx context.Context, args CallArgs, blockNr
if gasPrice.Cmp(common.Big0) == 0 {
gasPrice = new(big.Int).Mul(big.NewInt(50), common.Shannon)
}
- msg := types.NewMessage(addr, args.To, 0, args.Value.BigInt(), gas, gasPrice, common.FromHex(args.Data))
+ msg := types.NewMessage(addr, args.To, 0, args.Value.BigInt(), gas, gasPrice, common.FromHex(args.Data), false)
// Execute the call and return
vmenv, vmError, err := s.b.GetVMEnv(ctx, msg, state, header)