Skip to content

Conversation

@1henny
Copy link
Contributor

@1henny 1henny commented Feb 11, 2020

No description provided.

* @param opts.baseAsset
* @param opts.quoteAssets
* @param opts.defaultQuoteAsset
* @param opts.quoteAssets
Copy link
Contributor Author

@1henny 1henny Feb 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

was duplicate at line 14

}
}

export async function fundMasterAccount (asset, amount, assetOwner = assetHelper.masterKp) {
Copy link
Contributor Author

@1henny 1henny Feb 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i guess there is no way to get master id in tests (except of hard coding or getting it from a helper so just in case dropped this helper here)

}
}

export async function constructPayment (fromAccount, toAccount, assetCode, amount) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tryna create configurable payment constructor here. I noticed that up to present days there were no ways to create configurable payment, only hard-coded version for tests was available

}
}

export async function createPaymentFromOpts (opts) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extracting paymentHelper.create() call to use it separately

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants