Skip to content

Commit

Permalink
Merge pull request #11 from uma-universal-money-address/fix/senderkyc
Browse files Browse the repository at this point in the history
Fix a field name: senderKycStatus -> kycStatus
  • Loading branch information
jklein24 authored Jan 9, 2024
2 parents d9bbbf1 + a9bb274 commit e6bcd84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .idea/artifacts/uma_sdk_jvm.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion uma-sdk/src/commonMain/kotlin/me/uma/UmaProtocolHelper.kt
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class UmaProtocolHelper @JvmOverloads constructor(
utxos = payerUtxos ?: emptyList(),
nodePubKey = payerNodePubKey,
travelRuleInfo = travelRuleInfo?.let { encryptTravelRuleInfo(receiverEncryptionPubKey, it) },
senderKycStatus = payerKycStatus,
kycStatus = payerKycStatus,
signature = "",
signatureNonce = nonce,
signatureTimestamp = timestamp,
Expand Down
4 changes: 2 additions & 2 deletions uma-sdk/src/commonMain/kotlin/me/uma/protocol/PayRequest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ data class PayerData @JvmOverloads constructor(
* @property utxos The list of UTXOs of the sender's channels that might be used to fund the payment.
* @property nodePubKey If known, the public key of the sender's node. If supported by the receiver VASP's compliance
* provider, this will be used to pre-screen the sender's UTXOs for compliance purposes.
* @property senderKycStatus Indicates whether VASP1 has KYC information about the sender.
* @property kycStatus Indicates whether VASP1 has KYC information about the sender.
* @property travelRuleInfo The travel rule information of the sender. This is encrypted with the receiver's public
* encryption key.
* @property utxoCallback The URL that the receiver will call to send UTXOs of the channel that the receiver used to
Expand All @@ -62,7 +62,7 @@ data class PayerData @JvmOverloads constructor(
data class CompliancePayerData(
val utxos: List<String>,
val nodePubKey: String?,
val senderKycStatus: KycStatus,
val kycStatus: KycStatus,
val travelRuleInfo: String?,
val utxoCallback: String,
val signature: String,
Expand Down

0 comments on commit e6bcd84

Please sign in to comment.