From 3e3089a27d917f4bb1327c5e8b5892927d2c7cfb Mon Sep 17 00:00:00 2001 From: Bojie Wu Date: Tue, 9 Oct 2018 13:28:45 +0800 Subject: dex: implement dexon application interface --- core/tx_pool.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core') diff --git a/core/tx_pool.go b/core/tx_pool.go index eccf82e93..d79512d9c 100644 --- a/core/tx_pool.go +++ b/core/tx_pool.go @@ -1157,6 +1157,10 @@ func (pool *TxPool) demoteUnexecutables() { } } +func (pool *TxPool) ValidateTx(tx *types.Transaction, local bool) error { + return pool.validateTx(tx, local) +} + // addressByHeartbeat is an account address tagged with its last activity timestamp. type addressByHeartbeat struct { address common.Address -- cgit v1.2.3