fix: fixed null option in setAddress
325342a8
1 file(s) · +1 −1
| 105 | 105 | const hash = await setAddressRecord(wallet, { |
|
| 106 | 106 | name: options.name, |
|
| 107 | 107 | coin: options.coin, |
|
| 108 | - | value: options.value, |
|
| 108 | + | value: options.value === "null" ? null : options.value, |
|
| 109 | 109 | resolverAddress: resolverAddress as `0x${string}`, |
|
| 110 | 110 | }); |
|
| 111 | 111 |