diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-12-17 19:45:45 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2015-12-17 19:45:45 +0800 |
commit | 82a024d42520969272a11c7566c950e405e7ab48 (patch) | |
tree | a28a1e7073b5df6410a2b03df4eb0a73f17d9ba6 /eth | |
parent | 24f856ad6b9e4b7fa4f78a631622319a5d114869 (diff) | |
parent | 975c5912610013d5486336ab825ede86c8369b9a (diff) | |
download | dexon-82a024d42520969272a11c7566c950e405e7ab48.tar.gz dexon-82a024d42520969272a11c7566c950e405e7ab48.tar.zst dexon-82a024d42520969272a11c7566c950e405e7ab48.zip |
Merge pull request #1997 from zsfelfoldi/gasprice2
core: tx pool skip price validation for "owned" transactions
Diffstat (limited to 'eth')
-rw-r--r-- | eth/api.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eth/api.go b/eth/api.go index 068b350db..a1630e2d1 100644 --- a/eth/api.go +++ b/eth/api.go @@ -926,6 +926,7 @@ func (s *PublicTransactionPoolAPI) SendTransaction(args SendTxArgs) (common.Hash return common.Hash{}, err } + s.txPool.SetLocal(signedTx) if err := s.txPool.Add(signedTx); err != nil { return common.Hash{}, nil } @@ -948,6 +949,7 @@ func (s *PublicTransactionPoolAPI) SendRawTransaction(encodedTx string) (string, return "", err } + s.txPool.SetLocal(tx) if err := s.txPool.Add(tx); err != nil { return "", err } |