You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
781 B
25 lines
781 B
package com.sparrowwallet.sparrow.transaction;
|
|
|
|
import com.sparrowwallet.drongo.protocol.Transaction;
|
|
import com.sparrowwallet.drongo.psbt.PSBTInput;
|
|
import javafx.fxml.FXMLLoader;
|
|
import javafx.scene.Node;
|
|
|
|
import java.io.IOException;
|
|
|
|
public class PartialInputForm extends TransactionForm {
|
|
private PSBTInput psbtInput;
|
|
|
|
public PartialInputForm(Transaction transaction, PSBTInput psbtInput) {
|
|
super(transaction);
|
|
this.psbtInput = psbtInput;
|
|
}
|
|
|
|
public Node getContents() throws IOException {
|
|
FXMLLoader loader = new FXMLLoader(getClass().getResource("partialinput.fxml"));
|
|
Node node = loader.load();
|
|
PartialInputController controller = loader.getController();
|
|
controller.setModel(this);
|
|
return node;
|
|
}
|
|
}
|
|
|