diff --git a/chain/wallet/multi.go b/chain/wallet/multi.go index 532ad217b..5b603dbd5 100644 --- a/chain/wallet/multi.go +++ b/chain/wallet/multi.go @@ -90,7 +90,7 @@ func (m MultiWallet) WalletHas(ctx context.Context, address address.Address) (bo } func (m MultiWallet) WalletList(ctx context.Context) ([]address.Address, error) { - var out []address.Address + out := make([]address.Address, 0) seen := map[address.Address]struct{}{} ws := nonNil(m.Remote, m.Ledger, m.Local) diff --git a/lotuspond/front/src/chain/send.js b/lotuspond/front/src/chain/send.js index a0fc89437..c0d36b0a3 100644 --- a/lotuspond/front/src/chain/send.js +++ b/lotuspond/front/src/chain/send.js @@ -30,7 +30,7 @@ async function pushMessage(client, from, inmsg) { console.log(inmsg) - await client.call('Filecoin.MpoolPushMessage', [inmsg]) + await client.call('Filecoin.MpoolPushMessage', [inmsg, null]) } export default pushMessage