mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-01 11:16:11 -04:00
Add null checks
This commit is contained in:
parent
19eb61f30c
commit
e7967cc0e1
3 changed files with 3 additions and 2 deletions
|
@ -288,7 +288,7 @@ public final class Offer implements StoragePayload, RequiresOwnerIsOnlinePayload
|
|||
|
||||
@Override
|
||||
public PublicKey getOwnerPubKey() {
|
||||
return pubKeyRing.getSignaturePubKey();
|
||||
return pubKeyRing != null ? pubKeyRing.getSignaturePubKey() : null;
|
||||
}
|
||||
|
||||
public long getProtocolVersion() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue