Skip to content

Commit

Permalink
Merge pull request #36 from optimiz-r/patch-1
Browse files Browse the repository at this point in the history
fix `builders` in `eth_sendPrivateTransaction` rpc call
  • Loading branch information
zeroXbrock authored Jan 11, 2024
2 parents e67f7cf + fa11f40 commit 41b0448
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/api/mungers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ export function mungePrivateTxParams(signedTx: string, options?: TransactionOpti
maxBlockNumber: options?.maxBlockNumber && `0x${options.maxBlockNumber.toString(16)}`,
preferences: {
fast: true, // deprecated but required; setting has no effect
// privacy uses default (Stable) config if no hints specified
privacy: options?.hints && {
hints: extractSpecifiedHints(options.hints),
// privacy uses default (Stable) config if not specified
privacy: (options?.hints || options?.builders) && {
hints: options?.hints && extractSpecifiedHints(options.hints),
builders: options?.builders,
},
builders: options?.builders,
},
}]
}
Expand Down

0 comments on commit 41b0448

Please sign in to comment.