Skip to content

Commit

Permalink
Merge branch 'WE-8756-mainnet-patch' into 'release-1.13'
Browse files Browse the repository at this point in the history
WE-8756 Update blockMigration

Closes WE-8756

See merge request development/we/node/corporate-node!119
  • Loading branch information
mikonnikov committed Nov 17, 2023
2 parents 692b93e + 0877020 commit 4463d8c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@ class RocksDBWriter(val storage: MainRocksDBStorage,
* Do not delete, important fix
* Block on which an unsuccessful update occurred
*/
private[this] val mainnetPatch = List(
3550140 -> ByteStr.decodeBase58("41puwxf6m6RsJiBK5hPuf7uPnSLYYc6iLxY86RHjJsPftw1TvJHS4Eph1Nno9VrtLmioZv56NBQg1AU6FkZgP5yf").get
private[this] val blockMigration = List(
3550139 -> ByteStr.decodeBase58("4jDmMrRn17w3BpSjN156SUvAwiTuhgheKynF6yftfKFbTvqTe67anLuui4nKBvRBHZDFcdmsGq4jSsVTNKzbAjuv").get
)

// noinspection ScalaStyle
Expand Down Expand Up @@ -751,7 +751,7 @@ class RocksDBWriter(val storage: MainRocksDBStorage,
*
* WE-8755 & WE-8756
*/
if (mainnetPatch.contains((height, block.uniqueId))) {
if (blockMigration.contains((height, block.uniqueId))) {
MainnetMigration.apply(rw)
}
}
Expand Down

0 comments on commit 4463d8c

Please sign in to comment.