increase MAX_ASSETS_FOR_BUY_EXECUTION (#1733)

Partially addresses #1638

Still need a better solution to allow devs to have better control of
this.

---------

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2023-10-17 16:47:48 +02:00
1 parent a1171e6e81
commit 38c0604b46
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@ impl ShouldExecute for TakeWeightCredit {
}
}
const MAX_ASSETS_FOR_BUY_EXECUTION: usize = 1;
const MAX_ASSETS_FOR_BUY_EXECUTION: usize = 2;
/// Allows execution from `origin` if it is contained in `T` (i.e. `T::Contains(origin)`) taking
/// payments into account.