mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-18 21:32:35 +01:00
Block: remove deprecated method getBlockInflation()
Without `params` there is no way to keep this method.
This commit is contained in:
parent
fb9b578542
commit
f385d27825
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user