Skip to content

Commit

Permalink
Merge pull request #1 from vladmelnyk/update_block_method
Browse files Browse the repository at this point in the history
Update block method
  • Loading branch information
vladmelnyk authored Sep 30, 2019
2 parents 2e20b7d + dca26b2 commit 605af58
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.github.jleskovar.btcrpc

import com.fasterxml.jackson.annotation.JsonIgnoreProperties
import java.math.BigDecimal

/**
Expand Down Expand Up @@ -259,6 +260,7 @@ data class NodeAddress(
val address: String? = null,
val connected: String? = null)

@JsonIgnoreProperties(ignoreUnknown = true)
data class BlockInfo(
val hash: String? = null,
val confirmations: Long? = null,
Expand All @@ -279,6 +281,7 @@ data class BlockInfo(
val previousblockhash: String? = null,
val nextblockhash: String? = null)

@JsonIgnoreProperties(ignoreUnknown = true)
data class BlockInfoWithTransactions(
val hash: String? = null,
val confirmations: Long? = null,
Expand Down

0 comments on commit 605af58

Please sign in to comment.