storageminer: fix getWorkerAddr
This commit is contained in:
parent
6a31ff2f2e
commit
874b33781d
@ -198,7 +198,7 @@ func (m *Miner) getWorkerAddr(ctx context.Context) (address.Address, error) {
|
|||||||
To: m.maddr,
|
To: m.maddr,
|
||||||
From: m.maddr, // it doesnt like it if we dont give it a from... probably should fix that
|
From: m.maddr, // it doesnt like it if we dont give it a from... probably should fix that
|
||||||
Method: actors.MAMethods.GetWorkerAddr,
|
Method: actors.MAMethods.GetWorkerAddr,
|
||||||
Params: actors.EmptyStructCBOR,
|
Params: nil,
|
||||||
}
|
}
|
||||||
|
|
||||||
recpt, err := m.api.StateCall(ctx, msg, nil)
|
recpt, err := m.api.StateCall(ctx, msg, nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user