storageminer: fix getWorkerAddr

This commit is contained in:
Łukasz Magiera 2019-09-13 19:58:31 +02:00
parent 6a31ff2f2e
commit 874b33781d

View File

@ -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)