Skip to content

Commit

Permalink
fix: bank the new nullable transaction gasPrice property on the trans…
Browse files Browse the repository at this point in the history
…action
  • Loading branch information
siibars committed Jun 29, 2021
1 parent 5e0f5b8 commit 66ccdd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/payment-processor/test/payment/eth-proxy.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ describe('payEthProxyRequest', () => {
expect(balanceEthBefore.toString()).toBe(
balanceEthAfter
.add(validRequest.expectedAmount)
.add(confirmedTx.gasUsed?.mul(tx?.gasPrice ?? 1))
.add(confirmedTx.gasUsed?.mul(tx.gasPrice!))
.toString(),
);
});
Expand Down

0 comments on commit 66ccdd5

Please sign in to comment.