Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eryeer committed Nov 26, 2019
1 parent c5ab5e7 commit 0a9edb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/neo/Ledger/PoolItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ public int CompareTo(PoolItem otherItem)
{
if (otherItem == null) return 1;
if (otherItem.Tx == null) return 1;
int ret = TxFeePerByteCache.CompareTo(otherItem.TxFeePerByte);
int ret = TxFeePerByteCache.CompareTo(otherItem.TxFeePerByteCache);
if (ret != 0) return ret;
ret = Tx.NetworkFee.CompareTo(otherItem.Tx.NetworkFee);
if (ret != 0) return ret;
return TxHashCache.CompareTo(otherItem.TxHash);
return TxHashCache.CompareTo(otherItem.TxHashCache);
}
}
}

0 comments on commit 0a9edb8

Please sign in to comment.