Skip to content

Commit

Permalink
Make contract info lazy so native image works (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christewart committed Feb 2, 2021
1 parent c4edcb2 commit 0280707
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1233,7 +1233,7 @@ case class ContractInfoV0TLV(
object ContractInfoV0TLV extends TLVFactory[ContractInfoV0TLV] {
override val tpe: BigSizeUInt = BigSizeUInt(55342)

val dummy: ContractInfoV0TLV = {
lazy val dummy: ContractInfoV0TLV = {
ContractInfoV0TLV(
Satoshis.zero,
ContractDescriptorV0TLV(Vector("dummy" -> Satoshis(10000))),
Expand Down

0 comments on commit 0280707

Please sign in to comment.