Skip to content

Commit c176cc9

Browse files
committed
lint
1 parent 28d7536 commit c176cc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/thirdweb/src/transaction/serialize-transaction.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as ox__TransactionEnvelopeEip2930 from "ox/TransactionEnvelopeEip2930";
55
import * as ox__TransactionEnvelopeLegacy from "ox/TransactionEnvelopeLegacy";
66
import type { Hex } from "../utils/encoding/hex.js";
77

8-
export type SerializableTransaction = {
8+
type SerializableTransaction = {
99
type?: string | undefined;
1010
r?: Hex;
1111
s?: Hex;
@@ -19,7 +19,7 @@ export type SerializableTransaction = {
1919
maxFeePerGas?: bigint | undefined;
2020
maxPriorityFeePerGas?: bigint | undefined;
2121
data?: Hex | undefined;
22-
to?: Hex | undefined;
22+
to?: string | null | undefined; // Must allow null for backwards compatibility
2323
nonce?: number | bigint | undefined;
2424
value?: bigint | undefined;
2525
gasLimit?: bigint | undefined;

0 commit comments

Comments
 (0)