Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: refactored code
Browse files Browse the repository at this point in the history
HashEngineering committed Jan 10, 2024

Verified

This commit was signed with the committer’s verified signature.
HashEngineering HashEngineering
1 parent 9ff0a34 commit f547b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/src/de/schildbach/wallet/ui/dashpay/PlatformRepo.kt
Original file line number Diff line number Diff line change
@@ -572,7 +572,7 @@ class PlatformRepo @Inject constructor(
cftxData = platform.client.getTransaction(Sha256Hash.wrap(invite.cftx).reversedBytes.toHex())
val cftx = AssetLockTransaction(platform.params, cftxData!!.transaction)
val privateKey = DumpedPrivateKey.fromBase58(platform.params, invite.privateKey).key
cftx.setAssetLockPublicKeyAndIndex(privateKey, 0)
cftx.assetLockPublicKey = privateKey

// TODO: when all instantsend locks are deterministic, we don't need the catch block
val instantSendLock = try {

0 comments on commit f547b5d

Please sign in to comment.