We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 276dc8f commit 1e3dc30Copy full SHA for 1e3dc30
apps/scan/src/main/scala/org/lfdecentralizedtrust/splice/scan/admin/http/ScanHttpEncodings.scala
@@ -854,6 +854,13 @@ object FaucetProcessor {
854
license.payload.faucetState.map(_.firstReceivedFor.number.longValue()).orElse(0L),
855
lastCollectedInRound =
856
license.payload.faucetState.map(_.lastReceivedFor.number.longValue()).orElse(0L),
857
+ weight = license.payload.weight.toScala.map(_.doubleValue()),
858
+ kind = license.payload.kind.toScala.map { k =>
859
+ k.getConstructor() match {
860
+ case "OperatorLicense" => ValidatorReceivedFaucets.Kind.OperatorLicense
861
+ case "NonOperatorLicense" => ValidatorReceivedFaucets.Kind.NonOperatorLicense
862
+ }
863
+ },
864
)
865
}.toVector
866
}
0 commit comments