Skip to content

Commit

Permalink
implicit state removed
Browse files Browse the repository at this point in the history
  • Loading branch information
kushti committed Oct 28, 2024
1 parent cc1ec1b commit 40479db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ trait ExtraIndexerBase extends Actor with Stash with ScorexLogging {
* @param id - hash of the (ergotree) address
* @param spendOrReceive - IndexedErgoBox to receive (Right) or spend (Left)
*/
private def findAndUpdateTree(id: ModifierId, spendOrReceive: Either[IndexedErgoBox, IndexedErgoBox])(implicit state: IndexerState): Unit = {
private def findAndUpdateTree(id: ModifierId, spendOrReceive: Either[IndexedErgoBox, IndexedErgoBox])(state: IndexerState): Unit = {
trees.get(id).map { tree =>
spendOrReceive match {
case Left(iEb) => tree.addTx(state.globalTxIndex).spendBox(iEb, Some(history)) // spend box
Expand Down

0 comments on commit 40479db

Please sign in to comment.