fix: order of addresses in storage adapter reserve funds

This commit is contained in:
Dirk McCormick 2020-11-11 08:59:08 +01:00
parent ebd6b0da49
commit ea810ac806

View File

@ -113,7 +113,7 @@ func (c *ClientNodeAdapter) AddFunds(ctx context.Context, addr address.Address,
}
func (c *ClientNodeAdapter) ReserveFunds(ctx context.Context, wallet, addr address.Address, amt abi.TokenAmount) (cid.Cid, error) {
return c.fundmgr.Reserve(ctx, addr, wallet, amt)
return c.fundmgr.Reserve(ctx, wallet, addr, amt)
}
func (c *ClientNodeAdapter) ReleaseFunds(ctx context.Context, addr address.Address, amt abi.TokenAmount) error {