Created
December 31, 2018 18:28
-
-
Save apemon/7801544f0885d9c961999a398aa61784 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// generate new keypair for transfer cash | |
val (_, cashKeys) = Cash.generateSpend(serviceHub, builder, amount, ourIdentityAndCert, creditor) | |
// key to sign for transfer cash, notice that you will need another key for confidentially | |
val myKeysToSign = (cashKeys.toSet() + ourIdentity.owningKey).toList() | |
// send confidential to counterparty | |
subFlow(IdentitySyncFlow.Send(counterPartySession, ptx.tx)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment