mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 01:40:26 +01:00
Transaction: remove deprecated method isFinal()
This commit is contained in:
parent
a0d8018e1f
commit
578fcb9a0a
@ -1704,12 +1704,6 @@ public class Transaction extends BaseMessage {
|
||||
!isTimeLocked();
|
||||
}
|
||||
|
||||
/** @deprecated use {@link #isFinal(int, Instant)} */
|
||||
@Deprecated
|
||||
public boolean isFinal(int height, long blockTimeSeconds) {
|
||||
return isFinal(height, Instant.ofEpochSecond(blockTimeSeconds));
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns either the lock time, if it was specified as a timestamp, or an estimate based on the time in
|
||||
* the current head block if it was specified as a block height.
|
||||
|
Loading…
Reference in New Issue
Block a user