You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: onixlabs-corda-identity-framework-contract/src/main/kotlin/io/onixlabs/corda/identityframework/contract/accounts/AccountParty.kt
+8-8Lines changed: 8 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -30,15 +30,15 @@ import java.util.*
30
30
/**
31
31
* Represents a party that resolves back to an account.
32
32
*
33
-
* @property party The underlying party that owns the account.
33
+
* @property owner The underlying party that owns the account.
34
34
* @property accountLinearId The linear ID of the account associated with this party.
35
35
* @property accountType The type of the account associated with this party.
36
36
*/
37
37
classAccountParty internal constructor(
38
-
privatevalparty:AbstractParty,
38
+
valowner:AbstractParty,
39
39
valaccountLinearId:UniqueIdentifier,
40
40
valaccountType:Class<outAccount>
41
-
) : AbstractParty(party.owningKey) {
41
+
) : AbstractParty(owner.owningKey) {
42
42
43
43
/**
44
44
* Gets an account resolver to resolve this [AccountParty] back to the associated [Account].
@@ -70,7 +70,7 @@ class AccountParty internal constructor(
70
70
* @return Returns the name of the account owner; or null if the account owner is unknown.
71
71
*/
72
72
overridefunnameOrNull(): CordaX500Name? {
73
-
returnparty.nameOrNull()
73
+
returnowner.nameOrNull()
74
74
}
75
75
76
76
/**
@@ -80,7 +80,7 @@ class AccountParty internal constructor(
80
80
* @return Returns a party and reference of this object instance.
0 commit comments