storageminer: fix getWorkerAddr

This commit is contained in:
Łukasz Magiera
2019-09-13 19:59:10 +02:00
parent 6a31ff2f2e
commit 874b33781d
+1 -1
View File
@@ -198,7 +198,7 @@ func (m *Miner) getWorkerAddr(ctx context.Context) (address.Address, error) {
To: m.maddr,
From: m.maddr, // it doesnt like it if we dont give it a from... probably should fix that
Method: actors.MAMethods.GetWorkerAddr,
Params: actors.EmptyStructCBOR,
Params: nil,
}
recpt, err := m.api.StateCall(ctx, msg, nil)