Skip to content

Commit

Permalink
use empty address with checksum in EmptyTransfer
Browse files Browse the repository at this point in the history
  • Loading branch information
luca-moser committed Apr 6, 2019
1 parent f036ff3 commit 147f294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var EmptyTransfer = Transfer{
Message: NullSignatureMessageFragmentTrytes,
Value: 0,
Tag: NullTagTrytes,
Address: NullHashTrytes,
Address: NullAddressWithChecksum,
}

// TransfersToBundleEntries translates transfers to bundle entries.
Expand Down
1 change: 1 addition & 0 deletions consts/consts.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ var (
NullTagTrytes = strings.Repeat("9", TagTrinarySize/3)
NullNonceTrytes = strings.Repeat("9", NonceTrinarySize/3)
NullSignatureMessageFragmentTrytes = strings.Repeat("9", SignatureMessageFragmentTrinarySize/3)
NullAddressWithChecksum = strings.Repeat("9", HashTrytesSize) + "A9BEONKZW"
)

// Attachment timestamp constants.
Expand Down

0 comments on commit 147f294

Please sign in to comment.