diff --git a/data/pools/transactionPool.go b/data/pools/transactionPool.go index 2c3ecbc55d..4302d14a2d 100644 --- a/data/pools/transactionPool.go +++ b/data/pools/transactionPool.go @@ -752,6 +752,7 @@ func (pool *TransactionPool) recomputeBlockEvaluator(committedTxIds map[transact case *ledgercore.LeaseInLedgerError: asmStats.LeaseErrorCount++ stats.RemovedInvalidCount++ + pool.log.Infof("Cannot re-add pending transaction to pool: %v", err) case transactions.MinFeeError: asmStats.MinFeeErrorCount++ stats.RemovedInvalidCount++ diff --git a/ledger/ledgercore/error.go b/ledger/ledgercore/error.go index 78da7526d6..ac63b1f391 100644 --- a/ledger/ledgercore/error.go +++ b/ledger/ledgercore/error.go @@ -55,7 +55,7 @@ func MakeLeaseInLedgerError(txid transactions.Txid, lease Txlease) *LeaseInLedge func (lile *LeaseInLedgerError) Error() string { // format the lease as address. addr := basics.Address(lile.lease.Lease) - return fmt.Sprintf("transaction %v using an overlapping lease %s", lile.txid, addr.String()) + return fmt.Sprintf("transaction %v using an overlapping lease (%s, %s)", lile.txid, lile.lease.Sender.String(), addr.String()) } // BlockInLedgerError is returned when a block cannot be added because it has already been done