Skip to content

Commit

Permalink
Merge pull request #460 from wavesplatform/NODE-104-stackoverflow-utx…
Browse files Browse the repository at this point in the history
…pool-only

Node 104 stackoverflow utxpool only
  • Loading branch information
ismagin authored Aug 17, 2017
2 parents b711261 + 20e5f4a commit 7ee9d5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/com/wavesplatform/UtxPool.scala
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ object UtxPool {

def remove(txId: ByteStr): Unit = {
transactionPortfolios -= txId
transactions = transactions.mapValues(_ - txId)
transactions = transactions.map { case (k, v) => k -> (v - txId) }
}
}

Expand Down

0 comments on commit 7ee9d5f

Please sign in to comment.