Created
August 17, 2019 22:17
-
-
Save brenden-t-r/7d5b69e97bd92682f7603acf30df2dce 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
fun verifyCustomPaymentRailSettlement(obligation: Obligation<TokenType>, payment: CustomPayment<TokenType>): VerifyResult { | |
val oracleService = serviceHub.cordaService(MyPaymentRailService::class.java) | |
val result = oracleService.hasPaymentSettled(payment, obligation) | |
// .. check result status, etc.. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment