Skip to content

Commit 05f39ad

Browse files
committed
feat: handle colored posting
1 parent a2e7f38 commit 05f39ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/interpreter/interpreter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ func (s *programState) trySendingToAccount(accountLiteral parser.ValueExpr, amou
615615
// TODO update cached asset
616616

617617
s.Postings = append(s.Postings, Posting{
618-
Asset: s.CurrentAsset,
618+
Asset: coloredAsset(s.CurrentAsset, &sender.Color),
619619
Source: sender.Name,
620620
Destination: *account,
621621
Amount: sender.Amount,

0 commit comments

Comments
 (0)