Commit 3c7ef75b authored by duanjinfei's avatar duanjinfei

del get from add flag verify

parent c8fc9288
...@@ -44,10 +44,7 @@ func BroadcastTxArr(tranArr []*types.Transaction, cfg *tool.Config) error { ...@@ -44,10 +44,7 @@ func BroadcastTxArr(tranArr []*types.Transaction, cfg *tool.Config) error {
if err != nil { if err != nil {
log.Error("gogo types.MarshalAny error:", err) log.Error("gogo types.MarshalAny error:", err)
} }
fromAddr, b := txcache.GetFromAddr(tranArr[i].Hash().Hex()) fromAddr, _ := txcache.GetFromAddr(tranArr[i].Hash().Hex())
if !b {
continue
}
request := ring.BroadcastEthTxWithFromRequest{ request := ring.BroadcastEthTxWithFromRequest{
From: fromAddr, From: fromAddr,
EthTx: &v1.EthTransaction{Tx: ethTxAsAny}, EthTx: &v1.EthTransaction{Tx: ethTxAsAny},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment