CONTRACTS: createDummyContract returns filename (#1129)

This commit is contained in:
Bart Kuijper
2024-03-02 05:12:04 +01:00
committed by GitHub
parent 4c7f192645
commit 6a3d22d7bd
4 changed files with 10 additions and 5 deletions

View File

@@ -3577,8 +3577,9 @@ export interface CodingContract {
* Generate a dummy contract on the home computer with no reward. Used to test various algorithms.
*
* @param type - Type of contract to generate
* @returns Filename of the contract.
*/
createDummyContract(type: string): void;
createDummyContract(type: string): string;
/**
* List all contract types.