Skip to content

Commit

Permalink
fix: java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkAfCod committed Jan 22, 2024
1 parent 37dce8b commit 1e020bd
Showing 1 changed file with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,30 @@ public class RollupGasData {
this.ones = ones;
}

/**
* Get the number of zeroes.
*
* @return the number of zeroes
*/
public long getZeroes() {
return zeroes;
}

/**
* Get the number of non-zeroes.
*
* @return the number of non-zeroes
*/
public long getOnes() {
return ones;
}

/**
* Create a new roll up data record from a payload bytes.
*
* @param payload the transaction rlp encoded bytes
* @return the roll up data record
*/
public static RollupGasData fromPayload(final Bytes payload) {
if (payload == null) {
return empty;
Expand Down

0 comments on commit 1e020bd

Please sign in to comment.