Skip to content

Commit

Permalink
Merge pull request #97 from 0xdapper/master
Browse files Browse the repository at this point in the history
fix: make bundleHash from relay response optional
  • Loading branch information
epheph authored Feb 5, 2024
2 parents 53e1042 + 5d27553 commit 7ddaf2c
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 @@ -411,7 +411,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 7ddaf2c

Please sign in to comment.