Skip to content

Commit

Permalink
Update address.md (#1283)
Browse files Browse the repository at this point in the history
is there a mistake? i checked mainnet actor address and refrence https://github.com/filecoin-project/go-address/blob/5769c0de15a02ef38055aeb277ff159db822c5bc/address.go#L171, it may be blake2b-160,not sha256

Co-authored-by: smagdali <[email protected]>
  • Loading branch information
zengchao1212 and smagdali authored Nov 1, 2024
1 parent 3a17120 commit 48761e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/appendix/address.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ const (
|----------|---------------------|
| protocol | payload |
|----------|---------------------|
| 2 | SHA256(Random) |
| 2 | blake2b-160(Random) |
```

**String**
Expand All @@ -153,7 +153,7 @@ const (
|------------|----------|-----------------------|----------|
| network | protocol | payload | checksum |
|------------|----------|-----------------------|----------|
| 'f' or 't' | '2' | SHA256(Random) | 4 bytes |
| 'f' or 't' | '2' | blake2b-160(Random) | 4 bytes |
base32[..................................]
```

Expand Down

0 comments on commit 48761e4

Please sign in to comment.