mirror of
https://github.com/corda/corda.git
synced 2024-12-18 20:47:57 +00:00
Removed Kt suffix of Strutures in Java
This commit is contained in:
parent
bd0944e799
commit
fa7c2b71f7
@ -1,3 +1,5 @@
|
||||
@file:JvmName("Structures")
|
||||
|
||||
package net.corda.core.contracts
|
||||
|
||||
import net.corda.core.contracts.clauses.Clause
|
||||
|
@ -325,7 +325,7 @@ public class JavaCommercialPaper implements Contract {
|
||||
|
||||
@Suspendable
|
||||
public void generateRedeem(TransactionBuilder tx, StateAndRef<State> paper, VaultService vault) throws InsufficientBalanceException {
|
||||
vault.generateSpend(tx, StructuresKt.withoutIssuer(paper.getState().getData().getFaceValue()), paper.getState().getData().getOwner(), null);
|
||||
vault.generateSpend(tx, Structures.withoutIssuer(paper.getState().getData().getFaceValue()), paper.getState().getData().getOwner(), null);
|
||||
tx.addInputState(paper);
|
||||
tx.addCommand(new Command<>(new Commands.Redeem(), paper.getState().getData().getOwner().getOwningKey()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user