chore: updated logs for clearing an address record
7d1e9cfb
1 file(s) · +5 −1
| 110 | 110 | }); |
|
| 111 | 111 | ||
| 112 | 112 | spinner.stop(); |
|
| 113 | - | console.log(`✓ Address record set successfully`); |
|
| 113 | + | if (options.value === "null") { |
|
| 114 | + | console.log(`✓ Address record cleared successfully`); |
|
| 115 | + | } else { |
|
| 116 | + | console.log(`✓ Address record set successfully`); |
|
| 117 | + | } |
|
| 114 | 118 | console.log(`Transaction hash: ${hash}`); |
|
| 115 | 119 | } catch (error) { |
|
| 116 | 120 | const e = error as { shortMessage?: string; message: string }; |