Hotfix funding account in LBRY module

This commit is contained in:
Snazzah 2020-08-12 23:24:56 -05:00
parent 6a8df461fc
commit 50e4ae63e1
No known key found for this signature in database
GPG key ID: 5E71D54F3D86282E

View file

@ -147,7 +147,7 @@ class LBRY {
createSupport({ accountID, claimID, amount }) { createSupport({ accountID, claimID, amount }) {
return this._sdkRequest('support_create', { return this._sdkRequest('support_create', {
account_id: accountID, claim_id: claimID, account_id: accountID, claim_id: claimID,
amount: Util.LBRY.ensureDecimal(amount), funding_account_ids: accountID }); amount: Util.LBRY.ensureDecimal(amount), funding_account_ids: [accountID] });
} }
/** /**