Skip to content

Commit

Permalink
Update address.md
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
  • Loading branch information
zengchao1212 committed Oct 21, 2021
1 parent ec291c0 commit ef40506
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 ef40506

Please sign in to comment.