Fix getBloblsBundleV1 response (#5049)

Signed-off-by: Fabio Di Fabio <fabio.difabio@consensys.net>
pull/5051/head
Fabio Di Fabio 2 years ago committed by GitHub
parent 6257fe2f01
commit 94e1141cc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/results/BlobsBundleV1.java

@ -26,20 +26,20 @@ import org.apache.tuweni.bytes.Bytes;
@JsonPropertyOrder({"blockHash", "kzgs", "blobs"})
public class BlobsBundleV1 {
private final Hash blockHash;
private final String blockHash;
private final List<Bytes> kzgs;
private final List<Bytes> blobs;
public BlobsBundleV1(final Hash blockHash, final List<Bytes> kzgs, final List<Bytes> blobs) {
this.blockHash = blockHash;
this.blockHash = blockHash.toString();
this.kzgs = kzgs;
this.blobs = blobs;
}
@JsonGetter("blockHash")
public Hash getBlockHash() {
public String getBlockHash() {
return blockHash;
}

Loading…
Cancel
Save