From 48761e4a290079731ea317d055beb442310cae6e Mon Sep 17 00:00:00 2001 From: "chao.zeng" Date: Fri, 1 Nov 2024 18:43:58 +0800 Subject: [PATCH] Update address.md (#1283) 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 --- content/appendix/address.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/appendix/address.md b/content/appendix/address.md index 6c9650cc0..20575a2e6 100644 --- a/content/appendix/address.md +++ b/content/appendix/address.md @@ -144,7 +144,7 @@ const ( |----------|---------------------| | protocol | payload | |----------|---------------------| -| 2 | SHA256(Random) | +| 2 | blake2b-160(Random) | ``` **String** @@ -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[..................................] ```