Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Commit

Permalink
console
Browse files Browse the repository at this point in the history
  • Loading branch information
Charly committed Sep 30, 2019
1 parent 6ef1e5a commit d7a3095
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions dist/Tinlake.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -34944,9 +34944,7 @@ var Tinlake = /** @class */ (function () {
var txHash;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
console.log(principal, appraisal, fee);
return [4 /*yield*/, executeAndRetry(this.contracts.admin.whitelist, [registry, nft, principal, appraisal, fee, owner, this.ethConfig])];
case 0: return [4 /*yield*/, executeAndRetry(this.contracts.admin.whitelist, [registry, nft, principal, appraisal, fee, owner, this.ethConfig])];
case 1:
txHash = _a.sent();
console.log("[Admin.whitelist] txHash: " + txHash);
Expand Down
4 changes: 1 addition & 3 deletions dist/Tinlake.js
Original file line number Diff line number Diff line change
Expand Up @@ -34950,9 +34950,7 @@ var Tinlake = /** @class */ (function () {
var txHash;
return __generator(this, function (_a) {
switch (_a.label) {
case 0:
console.log(principal, appraisal, fee);
return [4 /*yield*/, executeAndRetry(this.contracts.admin.whitelist, [registry, nft, principal, appraisal, fee, owner, this.ethConfig])];
case 0: return [4 /*yield*/, executeAndRetry(this.contracts.admin.whitelist, [registry, nft, principal, appraisal, fee, owner, this.ethConfig])];
case 1:
txHash = _a.sent();
console.log("[Admin.whitelist] txHash: " + txHash);
Expand Down
1 change: 0 additions & 1 deletion src/Tinlake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ export class Tinlake {
* @param owner Owner of the created loan
*/
whitelist = async (registry: Address, nft: string, principal: string, appraisal: string, fee: string, owner: string) => {
console.log(principal, appraisal, fee)
const txHash = await executeAndRetry(this.contracts.admin.whitelist, [registry, nft, principal, appraisal, fee, owner, this.ethConfig]);
console.log(`[Admin.whitelist] txHash: ${txHash}`);
return waitAndReturnEvents(this.eth, txHash, this.contracts['nft'].abi, this.transactionTimeout);
Expand Down

0 comments on commit d7a3095

Please sign in to comment.