mempool: drop TxWithFee type

All the fees are in transaction, this makes no sense.
This commit is contained in:
Roman Khimov 2020-06-05 19:01:10 +03:00
parent a986e2a064
commit 63f4f34659
8 changed files with 24 additions and 34 deletions

View file

@ -461,7 +461,7 @@ func (s *Server) getRawMempool(_ request.Params) (interface{}, *response.Error)
mp := s.chain.GetMemPool()
hashList := make([]util.Uint256, 0)
for _, item := range mp.GetVerifiedTransactions() {
hashList = append(hashList, item.Tx.Hash())
hashList = append(hashList, item.Hash())
}
return hashList, nil
}