Skip to content
Snippets Groups Projects
Commit 91967ef9 authored by Tom French's avatar Tom French
Browse files

fix: revert remaining changed weights

parent c6335b4f
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,7 @@ function tableArbitrary(tableSchema, extraArbs, requiredKeys = []) { ...@@ -116,7 +116,7 @@ function tableArbitrary(tableSchema, extraArbs, requiredKeys = []) {
return arb; return arb;
} }
function makeTransaction({ splitFreq = 0.1, payeeIds } = {}) { function makeTransaction({ splitFreq = 1, payeeIds } = {}) {
let payeeField = payeeIds let payeeField = payeeIds
? { payee: fc.oneof(...payeeIds.map(id => fc.constant(id))) } ? { payee: fc.oneof(...payeeIds.map(id => fc.constant(id))) }
: null; : null;
......
...@@ -319,7 +319,7 @@ describe('transaction executors', () => { ...@@ -319,7 +319,7 @@ describe('transaction executors', () => {
fc fc
.asyncProperty( .asyncProperty(
arbs.makeTransactionArray({ arbs.makeTransactionArray({
splitFreq: 10, splitFreq: 0.1,
payeeIds, payeeIds,
maxLength: 100 maxLength: 100
}), }),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment