Skip to content

Commit

Permalink
fix: make bundleHash from relay response optional
Browse files Browse the repository at this point in the history
  • Loading branch information
0xdapper authored Mar 19, 2023
1 parent acdc7e8 commit 5d27553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ export class FlashbotsBundleProvider extends providers.JsonRpcProvider {
opts?.minTimestamp
),
receipts: () => this.fetchReceipts(bundleTransactions),
bundleHash: response.result.bundleHash
bundleHash: response?.result?.bundleHash
}
}

Expand Down

0 comments on commit 5d27553

Please # to comment.