Skip to content

Commit

Permalink
Do not set private tx to local (#160)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Dickman <[email protected]>
  • Loading branch information
benhenryhunter and Ben Dickman authored May 28, 2024
1 parent bfd3ac9 commit e5e16e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api_backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ func (b *EthAPIBackend) SubscribeLogsEvent(ch chan<- []*types.Log) event.Subscri

func (b *EthAPIBackend) SendTx(ctx context.Context, signedTx *types.Transaction, private bool) error {
if private {
return b.eth.txPool.Add([]*types.Transaction{signedTx}, true, false, true)[0]
return b.eth.txPool.Add([]*types.Transaction{signedTx}, false, false, true)[0]
} else {
return b.eth.txPool.Add([]*types.Transaction{signedTx}, true, false, false)[0]
}
Expand Down

0 comments on commit e5e16e1

Please sign in to comment.