fix error message when actor doesn't have predictable address
This commit is contained in:
parent
5a5936c3c7
commit
1d8ebe96bc
@ -58,7 +58,7 @@ func ResolveToKeyAddr(state types.StateTree, cst cbor.IpldStore, addr address.Ad
|
||||
|
||||
if state.Version() >= types.StateTreeVersion5 {
|
||||
if act.Address == nil {
|
||||
return address.Undef, xerrors.Errorf("actor doesn't have expected address: %s", addr)
|
||||
return address.Undef, xerrors.Errorf("actor at %s doesn't have a predictable address", addr)
|
||||
}
|
||||
return *act.Address, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user