mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-18 14:55:53 -04:00
fix checkArgument
This commit is contained in:
parent
ed83cdbe49
commit
380e8baf58
@ -244,7 +244,7 @@ class CreateOfferDataModel implements Activatable, DataModel {
|
||||
@SuppressWarnings("NullableProblems")
|
||||
void setDirection(Direction direction) {
|
||||
// direction can not be changed once it is initially set
|
||||
checkArgument(this.direction == null);
|
||||
checkArgument(direction == null);
|
||||
this.direction = direction;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user