We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
TransactionRequest.toRpc
1 parent 643ce46 commit a24f08aCopy full SHA for a24f08a
.changeset/sour-eels-fail.md
@@ -0,0 +1,5 @@
1
+---
2
+"ox": patch
3
4
+
5
+Updated `TransactionRequest.toRpc` for Tempo.
src/tempo/TransactionRequest.ts
@@ -136,8 +136,10 @@ export function toRpc(request: TransactionRequest): Rpc {
136
if (nonceKey) request_rpc.nonceKey = nonceKey
137
138
if (
139
- request.calls ||
+ typeof request.calls !== 'undefined' ||
140
typeof request.feeToken !== 'undefined' ||
141
+ typeof request.keyAuthorization !== 'undefined' ||
142
+ typeof request.nonceKey !== 'undefined' ||
143
typeof request.validBefore !== 'undefined' ||
144
typeof request.validAfter !== 'undefined' ||
145
request.type === 'tempo'
0 commit comments