Skip to content

Commit b1ef274

Browse files
author
Jayash Satolia
committed
Fix register validator healthcheck
1 parent d2f81d7 commit b1ef274

File tree

1 file changed

+2
-0
lines changed
  • code/go/0chain.net/validator

1 file changed

+2
-0
lines changed

code/go/0chain.net/validator/main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,8 @@ func RegisterValidator() {
221221
}
222222

223223
Logger.Info("Transaction for adding validator accepted and verified", zap.String("txn_hash", hash), zap.Any("txn_output", out))
224+
225+
go handler.StartHealthCheck(common.GetRootContext(), common.ProviderTypeValidator)
224226
break
225227
}
226228
}

0 commit comments

Comments
 (0)