Skip to content

Commit 8287590

Browse files
committed
edit panic descriptions
1 parent ab4c449 commit 8287590

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

internal/interpreter/virtual_account.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,8 @@ func send(
8787
Asset: coloredAsset(asset, &color),
8888
}}
8989
case VirtualAccount:
90-
panic("TODO2")
90+
// should be unreachable
91+
panic("Unhandled: send from addr to virtual acc")
9192
}
9293

9394
case VirtualAccount:
@@ -101,7 +102,8 @@ func send(
101102
})
102103

103104
case VirtualAccount:
104-
panic("TODO4")
105+
// should be unreachable
106+
panic("Unhandled: send from addr to virtual account")
105107
}
106108

107109
}

0 commit comments

Comments
 (0)