Block: remove deprecated method getBlockInflation()

Without `params` there is no way to keep this method.
This commit is contained in:
Andreas Schildbach 2023-04-03 19:16:50 +02:00
parent fb9b578542
commit f385d27825

View File

@ -193,12 +193,6 @@ public class Block extends Message {
transactions);
}
/** @deprecated Use {@link BitcoinNetworkParams#getBlockInflation(int)} */
@Deprecated
public Coin getBlockInflation(int height) {
return ((BitcoinNetworkParams) params).getBlockInflation(height);
}
/**
* Parse transactions from the block.
*/