Adding a getter to the Transaction's blockData attribute
This commit is contained in:
parent
9af682f0cb
commit
f186bbe7b9
1 changed files with 9 additions and 1 deletions
|
@ -100,13 +100,21 @@ public class Transaction implements ByteSerializable, JsonSerializable {
|
|||
}
|
||||
|
||||
/**
|
||||
* Updates the block data
|
||||
* Block data getter
|
||||
* @param blockData New block data
|
||||
*/
|
||||
public void setBlockData(BlockData blockData){
|
||||
this.blockData = blockData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Block data setter
|
||||
* @return BlockData instance
|
||||
*/
|
||||
public BlockData getBlockData(){
|
||||
return this.blockData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the fees for all operations in this transaction.
|
||||
* @param fees: New fees to apply
|
||||
|
|
Loading…
Reference in a new issue