xeth, miner: updated some logging
This commit is contained in:
parent
5cb5df003d
commit
4feb5f6f9c
@ -258,7 +258,7 @@ func (self *worker) commitNewWork() {
|
||||
tcount = 0
|
||||
ignoredTransactors = set.New()
|
||||
)
|
||||
//gasLimit:
|
||||
|
||||
for _, tx := range transactions {
|
||||
// We can skip err. It has already been validated in the tx pool
|
||||
from, _ := tx.From()
|
||||
@ -296,7 +296,6 @@ func (self *worker) commitNewWork() {
|
||||
tcount++
|
||||
}
|
||||
}
|
||||
//self.eth.TxPool().InvalidateSet(remove)
|
||||
|
||||
var (
|
||||
uncles []*types.Header
|
||||
|
@ -682,9 +682,11 @@ func (self *XEth) Transact(fromStr, toStr, valueStr, gasStr, gasPriceStr, codeSt
|
||||
|
||||
if contractCreation {
|
||||
addr := core.AddressFromMessage(tx)
|
||||
glog.V(logger.Info).Infof("Contract addr %x\n", addr)
|
||||
glog.V(logger.Info).Infof("Tx(%x) created: %x\n", tx.Hash(), addr)
|
||||
|
||||
return core.AddressFromMessage(tx).Hex(), nil
|
||||
} else {
|
||||
glog.V(logger.Info).Infof("Tx(%x) to: %x\n", tx.Hash(), tx.To())
|
||||
}
|
||||
return tx.Hash().Hex(), nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user